Skip to content

Commit 53167a3

Browse files
author
Alexey Dobriyan
committed
proc: move PROC_PAGE_MONITOR to fs/proc/Kconfig
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
1 parent 8132436 commit 53167a3

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎fs/proc/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,13 @@ config PROC_SYSCTL
5757
As it is generally a good thing, you should say Y here unless
5858
building a kernel for install/rescue disks or your system is very
5959
limited in memory.
60+
61+
config PROC_PAGE_MONITOR
62+
default y
63+
depends on PROC_FS && MMU
64+
bool "Enable /proc page monitoring" if EMBEDDED
65+
help
66+
Various /proc files exist to monitor process memory utilization:
67+
/proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
68+
/proc/kpagecount, and /proc/kpageflags. Disabling these
69+
interfaces will reduce the size of the kernel by approximately 4kb.

‎init/Kconfig‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -779,16 +779,6 @@ config MARKERS
779779

780780
source "arch/Kconfig"
781781

782-
config PROC_PAGE_MONITOR
783-
default y
784-
depends on PROC_FS && MMU
785-
bool "Enable /proc page monitoring" if EMBEDDED
786-
help
787-
Various /proc files exist to monitor process memory utilization:
788-
/proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
789-
/proc/kpagecount, and /proc/kpageflags. Disabling these
790-
interfaces will reduce the size of the kernel by approximately 4kb.
791-
792782
endmenu # General setup
793783

794784
config HAVE_GENERIC_DMA_COHERENT

0 commit comments

Comments
 (0)