mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
proc: move PROC_PAGE_MONITOR to fs/proc/Kconfig
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
This commit is contained in:
parent
81324364b7
commit
53167a3ef2
2 changed files with 10 additions and 10 deletions
|
@ -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.
|
||||
|
|
10
init/Kconfig
10
init/Kconfig
|
@ -779,16 +779,6 @@ config MARKERS
|
|||
|
||||
source "arch/Kconfig"
|
||||
|
||||
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.
|
||||
|
||||
endmenu # General setup
|
||||
|
||||
config HAVE_GENERIC_DMA_COHERENT
|
||||
|
|
Loading…
Reference in a new issue