maps4: make page monitoring /proc file optional
authorMatt Mackall <mpm@selenic.com>
Tue, 5 Feb 2008 06:29:07 +0000 (22:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:17 +0000 (09:44 -0800)
commit1e88328111aae3ea408f346763ba9f9bad71f876
tree22be92057a7426ca5b6c8ee9b136bbc417c902a8
parent304daa8132a95e998b6716d4b7bd8bd76aa152b2
maps4: make page monitoring /proc file optional

Make /proc/ page monitoring configurable

This puts the following files under an embedded config option:

/proc/pid/clear_refs
/proc/pid/smaps
/proc/pid/pagemap
/proc/kpagecount
/proc/kpageflags

[akpm@linux-foundation.org: Kconfig fix]
Signed-off-by: Matt Mackall <mpm@selenic.com>
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>
fs/proc/base.c
fs/proc/proc_misc.c
fs/proc/task_mmu.c
init/Kconfig
mm/Makefile