Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-08-2012, 07:57 AM   #1
LQ Newbie
Registered: Mar 2012
Posts: 10

Rep: Reputation: Disabled
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.

Old 05-08-2012, 08:08 AM   #2
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free user space pages of different user processes from inside kernel space trueskyte Linux - Kernel 1 10-22-2010 04:37 PM
[SOLVED] kernel q re: user-space memory handling adjutrix Linux - General 2 07-16-2010 11:51 AM
Virtual space seen by each new process in User space shreshtha Linux - General 2 06-22-2010 05:47 AM
Division of Logical Memory Space in to User Space and Kernel Space shreshtha Linux - Newbie 2 01-14-2010 09:59 AM
Sharing Memory between driver space and user space ian b davidson Programming 1 11-10-2008 06:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration