LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-22-2012, 11:04 AM   #1
hkonok
LQ Newbie
 
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
understand linux kernel memory management


hi,
i am new in linux kernel development field. I am trying to understand the kernel memory management functions and codes. Any suggestion regarding this topic would be very helpful for me.

thanks in advance.
konok
 
Old 07-22-2012, 07:52 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,833

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Good luck.
Best sites to start are probably linux-mm.org and kernelnewbies.org

There isn't a lot of good (current) overview material out there (that I could find). Diving into the code drove me to drink - the code is convoluted and a reasonable amount is (in-line) assembler. Not an easy assignment, although in my case it was a side-issue to what I was really looking for at the time.
 
Old 07-22-2012, 09:39 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
You might find the Interactive Kernel Map useful: http://www.makelinux.net/kernel_map/
 
Old 07-23-2012, 07:14 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
There is a book available called 'Understanding the Linux Virtual Memory Manager' by Mel Gorman. part of the Bruce Perens/Prentice-Hall Open Source series There are a number of pluses and minuses
  • It is free, as a pdf
  • If you are lucky, if you look on distrowatch, you'll get a link from which to download it; otherwise a search?
  • Easier and better organised (for this purpose) than the RTFS solution
OTOH
  • It is a little dated (2.6 just...the details will have had some changes, but the fundamentals will be the same)
  • It is not exactly a trivial, fun, read....but then it wouldn't be

I don't know if there is a more up-to-date, paid for/dead-tree-ware version available, but there might be.
 
  


Reply


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
Linux memory management: Real memory or Cached buffers? gubbu Linux - Server 2 10-01-2010 02:58 AM
Memory management in 2.4/2.6 kernel Nayaka Linux - Kernel 3 12-27-2007 11:51 PM
memory management kernel 2.6.18 chiendarret Linux - Software 2 04-08-2007 01:28 AM
Kernel Memory Management meatbiscuit Linux - General 4 02-10-2006 07:41 PM
Linux Memory Management beatlelane Red Hat 5 10-04-2003 01:39 AM


All times are GMT -5. The time now is 08:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration