LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   memory management of a process in kernel space and user space. (http://www.linuxquestions.org/questions/linux-newbie-8/memory-management-of-a-process-in-kernel-space-and-user-space-943882/)

embeddedlinux 05-08-2012 08:57 AM

memory management of a process in kernel space and user space.
 
Hi all,
I have following question in linux :

The memory allocation of a process(text segment,stack,heap,bss etc) in kernel(I know it does not have memory protection) and user space are done using kmalloc and malloc respectively. My query is, does the process in kernel space and user space share same memory model? If not then how does the memory allocation of processes, memory management and handling is done separately.

Please revert back if you have not understood my question.

thanks

blue_print 05-08-2012 09:08 AM

The following links/pdfs will give you a detailed explanation about memory allocation in Linux. Please go through it.

http://www.cs.columbia.edu/~smb/clas...6-4118/l19.pdf
http://x86asm.net/articles/memory-allocation-in-linux/
http://www.linuxjournal.com/article/1133


All times are GMT -5. The time now is 06:51 AM.