mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Traversing Page Table of a process
@ 2009-07-27 11:31 M. Shuaib Khan
  0 siblings, 0 replies; only message in thread
From: M. Shuaib Khan @ 2009-07-27 11:31 UTC (permalink / raw)
  To: linux-kernel

This has seriously started to give me a head ache. So an SOS for help.

I get the pgd for each process out of its mm_struct. How do I use this
pgd to get the physical addresses of all the pages. I am not writing a
code that will be part of the running kernel so none of the kernel
macros are available for my use. I am getting everything manually out
of a RAM image taken using dd.

So once I've the pgd value out of mm_struct, how do I get to the
corresponding pmd and pte addresses and eventually the physical
addresses of the pages...?

Any help/pointers greatly appreciated. Thanks.

-- 
M. Shuaib Khan

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

only message in thread, other threads:[~2009-07-27 11:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-27 11:31 Traversing Page Table of a process M. Shuaib Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®