linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* About resevation of kernel code and data section in e500 part.
@ 2007-10-16  2:49 Michael.Kang
  0 siblings, 0 replies; only message in thread
From: Michael.Kang @ 2007-10-16  2:49 UTC (permalink / raw)
  To: linuxppc-embedded

Hi:
         I have some confusions about where the page of kernel text
and data is reserved in linux source ? Hope get some hints here and
thanks in advance.
         I had digged into some related code, but got no anwser:

1. in set_phys_avail [ arch/ppc/mm/init.c : 456] , it seems memory
used by kernel text and data is reserved for bootmem.

2. Then in memmap_init_zone [mm/page_alloc.c:1925] , all the page is
set reserved including the pages used by kernel text and data. And it
seems page->virtual in all the page is set here.

So my question is where the pages used by kernel text and data is set
to reserved in linux source?


-- Thanks
-- Michael.Kang

-- 
www.skyeye.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-16  2:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16  2:49 About resevation of kernel code and data section in e500 part Michael.Kang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).