LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how kernel process is loaded in the physical memory.. (https://www.linuxquestions.org/questions/linux-software-2/how-kernel-process-is-loaded-in-the-physical-memory-657679/)

Kesavaraj 07-23-2008 08:29 AM

how kernel process is loaded in the physical memory..
 
Hi,

I have a question on linux memory management. i read it,paging concept is only for the user process and not for the kernel process. In this case, if kernel process logical address space is greater than the physical memory size then, what type of mechanism the kernel process will do to load it... One more silly doubt.. I am very sure about init process will create all other child processes. who will create the init process. Whether it is created by boot up hardware..

Thanks,
Kesavaraj.

johnsfine 07-23-2008 08:53 AM

Quote:

Originally Posted by Kesavaraj (Post 3223687)
i read it,paging concept is only for the user process and not for the kernel process.

I forget what type of CPUs that applies to, and I don't know if Linux has been ported to any of those CPUs.

But for most CPUs with paging (including x86 and x86_64, which are most Linux systems) the kernel is also paged.

Quote:

In this case, if kernel process
...

I'm not certain whether there is anything in Linux that should be called a kernel process. Most of the kernel address space is mapped inside each process's address space and most kernel activities occur within the context of an ordinary process. Within a process, the CPU can switch modes to give access to protected memory and operations.


All times are GMT -5. The time now is 08:13 PM.