]> xenbits.xen.org Git - xenclient/kernel.git/commit
This patch series introduces /proc/pid/pagemap and /proc/kpagemap, which allow maps2-patches/00-backport-smaps-page-walker
authorMatt Mackall <mpm@selenic.com>
Tue, 6 Jan 2009 12:06:05 +0000 (12:06 +0000)
committerMatt Mackall <mpm@selenic.com>
Tue, 6 Jan 2009 12:06:05 +0000 (12:06 +0000)
commit202d962bf93c043e7f4d50fe4f9ac77691ee4812
treeb3a3d8c6c3f9a52f437a0569c2c6958f4a44e630
parenta583aca33d3af38abf857cf92773d4f7d4a5206d
This patch series introduces /proc/pid/pagemap and /proc/kpagemap, which allow
detailed run-time examination of process memory usage at a page granularity.

The first several patches whip the page-walking code introduced for
/proc/pid/smaps and clear_refs into a more generic form, the next couple make
those interfaces optional, and the last two introduce the new interfaces, also
optional.

This respin adds simple, expandable headers to both pagemap and kpagemap as
suggested by Nikita.  I haven't moved pagewalk.c from lib/ to mm/ as suggested
by Nick as I still think lib is a better fit for its automatic conditional
linking.

This patch:

Uninline some functions in the page walker

Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/proc/task_mmu.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
fs/proc/task_mmu.c