2007-05-17 09:11:53

by Matthias Andree

[permalink] [raw]
Subject: Dumping a process's pagetable entries?

[please remember to Cc: me on your replies]

Greetings,

is there an easy way to dump a process's pagetables from outside that
process? Tools, /proc or /sys file or syscall that I missed?

Thanks in advance.

--
Matthias Andree


2007-05-17 23:48:19

by Andrew Morton

[permalink] [raw]
Subject: Re: Dumping a process's pagetable entries?

On Thu, 17 May 2007 11:11:42 +0200
Matthias Andree <[email protected]> wrote:

> [please remember to Cc: me on your replies]
>
> Greetings,
>
> is there an easy way to dump a process's pagetables from outside that
> process? Tools, /proc or /sys file or syscall that I missed?
>

/proc/pid/pagemap and /proc/kpagemap (presently in -mm as maps2*.patch)
might be suitable.