diff options
author | Matt Mackall <mpm@selenic.com> | 2008-02-04 22:29:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 09:44:17 -0800 |
commit | 161f47bf41c5ece90ac53cbb6a4cb9bf74ce0ef6 (patch) | |
tree | f6f18c3eb74faf8b2b8de27b42241e9986bd6dc9 /init | |
parent | 85863e475e59afb027b0113290e3796ee6020b7d (diff) | |
download | op-kernel-dev-161f47bf41c5ece90ac53cbb6a4cb9bf74ce0ef6.zip op-kernel-dev-161f47bf41c5ece90ac53cbb6a4cb9bf74ce0ef6.tar.gz |
maps4: add /proc/kpagecount interface
This makes physical page map counts available to userspace. Together
with /proc/pid/pagemap and /proc/pid/clear_refs, this can be used to
monitor memory usage on a per-page basis.
[akpm@linux-foundation.org: remove unneeded access_ok()]
[bunk@stusta.de: make struct proc_kpagemap static]
Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions