summaryrefslogtreecommitdiffstats
path: root/fs/proc/Kconfig
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-03 00:01:51 +0200
committerAlexey Dobriyan <adobriyan@gmail.com>2008-10-10 02:18:57 +0200
commit53167a3ef23df561d898dee636f3393e9fba937c (patch)
tree1619560ee2db5dc3d43e1f53dd4188fd849fd98f /fs/proc/Kconfig
parentproc: make grab_header() static (diff)
downloadlinux-53167a3ef23df561d898dee636f3393e9fba937c.tar.xz
linux-53167a3ef23df561d898dee636f3393e9fba937c.zip
proc: move PROC_PAGE_MONITOR to fs/proc/Kconfig
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs/proc/Kconfig')
-rw-r--r--fs/proc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/proc/Kconfig b/fs/proc/Kconfig
index 73cd7a418f06..50f8f0600f06 100644
--- a/fs/proc/Kconfig
+++ b/fs/proc/Kconfig
@@ -57,3 +57,13 @@ config PROC_SYSCTL
As it is generally a good thing, you should say Y here unless
building a kernel for install/rescue disks or your system is very
limited in memory.
+
+config PROC_PAGE_MONITOR
+ default y
+ depends on PROC_FS && MMU
+ bool "Enable /proc page monitoring" if EMBEDDED
+ help
+ Various /proc files exist to monitor process memory utilization:
+ /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
+ /proc/kpagecount, and /proc/kpageflags. Disabling these
+ interfaces will reduce the size of the kernel by approximately 4kb.