LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Question about page frame management in x86_64
@ 2008-10-30 21:49 Emre Can Sezer
  0 siblings, 0 replies; only message in thread
From: Emre Can Sezer @ 2008-10-30 21:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: ecsezer

Hi,

For my research I'm trying to keep track of which pages belong to an LKM.
I use linux-2.6.26.

When the module is first loaded, the virtual memory region (ffff ffff a000
0000) maps to a set of page frames, which I track.  Later on (after all
the modules have loaded), these same pages are returned by
get_free_pages(), before they are released.  At this point, the page table
entries have also changed.  I observe this for all modules.  Since the
modules haven't exited, I can only assume that the pages are relocated. 
However, neither free_more_memory() is called nor balance_pgdat() reclaims
any pages.  They aren't freed via any of the __free_pages() family of
functions either.  What could be relocating these pages and which
functions would be responsible for it?

Thanks in advance,

John

PS.  I'm not subscribed to the mailing list, so please CC to me.  Thanks.

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

only message in thread, other threads:[~2008-10-30 22:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-30 21:49 Question about page frame management in x86_64 Emre Can Sezer

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).