[<prev] [next>] [day] [month] [year] [list]
Message-ID: <d6bd61d30907270431k6ce7b470le8804aa54aab3fbb@mail.gmail.com>
Date: Mon, 27 Jul 2009 16:31:13 +0500
From: "M. Shuaib Khan" <aries.shuaib@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Traversing Page Table of a process
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists