diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index dc28836d9d00..aaa7e7d5305e 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -678,6 +678,16 @@ config MARKERS | |||
678 | 678 | ||
679 | source "arch/Kconfig" | 679 | source "arch/Kconfig" |
680 | 680 | ||
681 | config PROC_PAGE_MONITOR | ||
682 | default y | ||
683 | depends on PROC_FS && MMU | ||
684 | bool "Enable /proc page monitoring" if EMBEDDED | ||
685 | help | ||
686 | Various /proc files exist to monitor process memory utilization: | ||
687 | /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap, | ||
688 | /proc/kpagecount, and /proc/kpageflags. Disabling these | ||
689 | interfaces will reduce the size of the kernel by approximately 4kb. | ||
690 | |||
681 | endmenu # General setup | 691 | endmenu # General setup |
682 | 692 | ||
683 | config SLABINFO | 693 | config SLABINFO |