LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-08-2012, 07:57 AM   #1
embeddedlinux
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.

thanks
 
Old 05-08-2012, 08:08 AM   #2
blue_print
Member
 
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.

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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 PM.

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