[openwrt/openwrt] target: disable CONFIG_PROC_PAGE_MONITOR on most targets

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 13 06:05:01 PST 2018


jow pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/7e99a6ba690f27b36e99144178c71f0687b07ad9

commit 7e99a6ba690f27b36e99144178c71f0687b07ad9
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Sat Jan 13 14:46:11 2018 +0100

    target: disable CONFIG_PROC_PAGE_MONITOR on most targets
    
    Disable CONFIG_PROC_PAGE_MONITOR in most places and only keep it enabled
    for virtual targets such as malta or potent ones like x86.
    
    This saves up to 4KB of uncompressed kernel size and significantly
    decreases CPU load under certain workloads.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 target/linux/brcm2708/bcm2708/config-4.9     | 1 -
 target/linux/brcm2708/bcm2709/config-4.9     | 1 -
 target/linux/brcm2708/bcm2710/config-4.9     | 1 -
 target/linux/layerscape/armv8_32b/config-4.9 | 1 -
 target/linux/layerscape/armv8_64b/config-4.9 | 1 -
 target/linux/mpc85xx/config-4.9              | 1 -
 target/linux/octeon/config-4.14              | 1 -
 target/linux/octeon/config-4.9               | 1 -
 target/linux/sunxi/config-4.9                | 2 --
 target/linux/xburst/config-3.18              | 1 -
 target/linux/zynq/config-4.4                 | 1 -
 11 files changed, 12 deletions(-)

diff --git a/target/linux/brcm2708/bcm2708/config-4.9 b/target/linux/brcm2708/bcm2708/config-4.9
index 0ab238c..dccf85f 100644
--- a/target/linux/brcm2708/bcm2708/config-4.9
+++ b/target/linux/brcm2708/bcm2708/config-4.9
@@ -312,7 +312,6 @@ CONFIG_PM_GENERIC_DOMAINS_SLEEP=y
 CONFIG_PM_SLEEP=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_PRINTK_TIME=y
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_PWM=y
 CONFIG_PWM_BCM2835=y
 CONFIG_PWM_SYSFS=y
diff --git a/target/linux/brcm2708/bcm2709/config-4.9 b/target/linux/brcm2708/bcm2709/config-4.9
index 5c0ab7e..71884a5 100644
--- a/target/linux/brcm2708/bcm2709/config-4.9
+++ b/target/linux/brcm2708/bcm2709/config-4.9
@@ -337,7 +337,6 @@ CONFIG_PM_SLEEP=y
 CONFIG_PM_SLEEP_SMP=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_PRINTK_TIME=y
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_PWM=y
 CONFIG_PWM_BCM2835=y
 CONFIG_PWM_SYSFS=y
diff --git a/target/linux/brcm2708/bcm2710/config-4.9 b/target/linux/brcm2708/bcm2710/config-4.9
index af69f08..d402f4b 100644
--- a/target/linux/brcm2708/bcm2710/config-4.9
+++ b/target/linux/brcm2708/bcm2710/config-4.9
@@ -353,7 +353,6 @@ CONFIG_PM_SLEEP_SMP=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_PRINTK_TIME=y
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_PWM=y
 CONFIG_PWM_BCM2835=y
 CONFIG_PWM_SYSFS=y
diff --git a/target/linux/layerscape/armv8_32b/config-4.9 b/target/linux/layerscape/armv8_32b/config-4.9
index 9e5b33b..0d98e8a 100644
--- a/target/linux/layerscape/armv8_32b/config-4.9
+++ b/target/linux/layerscape/armv8_32b/config-4.9
@@ -990,7 +990,6 @@ CONFIG_PREEMPT_NOTIFIERS=y
 CONFIG_PRINTK_TIME=y
 # CONFIG_PROBE_EVENTS is not set
 CONFIG_PROC_CHILDREN=y
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_PROC_PID_CPUSET=y
 CONFIG_PSTORE=y
 CONFIG_PSTORE_CONSOLE=y
diff --git a/target/linux/layerscape/armv8_64b/config-4.9 b/target/linux/layerscape/armv8_64b/config-4.9
index 546e589..bb74434 100644
--- a/target/linux/layerscape/armv8_64b/config-4.9
+++ b/target/linux/layerscape/armv8_64b/config-4.9
@@ -941,7 +941,6 @@ CONFIG_PREEMPT_RCU=y
 CONFIG_PRINTK_TIME=y
 CONFIG_PRINT_QUOTA_WARNING=y
 CONFIG_PROC_CHILDREN=y
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_PROC_PID_CPUSET=y
 CONFIG_PROFILING=y
 CONFIG_PTP_1588_CLOCK=y
diff --git a/target/linux/mpc85xx/config-4.9 b/target/linux/mpc85xx/config-4.9
index f811421..68568c4 100644
--- a/target/linux/mpc85xx/config-4.9
+++ b/target/linux/mpc85xx/config-4.9
@@ -290,7 +290,6 @@ CONFIG_PPC_UDBG_16550=y
 CONFIG_PPC_WERROR=y
 # CONFIG_PPC_XICS is not set
 # CONFIG_PQ2ADS is not set
-CONFIG_PROC_PAGE_MONITOR=y
 # CONFIG_PTP_1588_CLOCK_GIANFAR is not set
 CONFIG_QE_GPIO=y
 CONFIG_QE_USB=y
diff --git a/target/linux/octeon/config-4.14 b/target/linux/octeon/config-4.14
index 687b37f..24cba2b 100644
--- a/target/linux/octeon/config-4.14
+++ b/target/linux/octeon/config-4.14
@@ -259,7 +259,6 @@ CONFIG_PHYS_ADDR_T_64BIT=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_POSIX_MQUEUE_SYSCTL=y
 CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_QUEUED_RWLOCKS=y
 CONFIG_QUEUED_SPINLOCKS=y
 CONFIG_RCU_NEED_SEGCBLIST=y
diff --git a/target/linux/octeon/config-4.9 b/target/linux/octeon/config-4.9
index 2802446..5599b24 100644
--- a/target/linux/octeon/config-4.9
+++ b/target/linux/octeon/config-4.9
@@ -233,7 +233,6 @@ CONFIG_PHYLIB=y
 CONFIG_PHYS_ADDR_T_64BIT=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_POSIX_MQUEUE_SYSCTL=y
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_RCU_STALL_COMMON=y
 CONFIG_RELAY=y
 CONFIG_RFS_ACCEL=y
diff --git a/target/linux/sunxi/config-4.9 b/target/linux/sunxi/config-4.9
index 16b367b..bf2111d 100644
--- a/target/linux/sunxi/config-4.9
+++ b/target/linux/sunxi/config-4.9
@@ -1,4 +1,3 @@
-CONFIG_ADVISE_SYSCALLS=y
 # CONFIG_AHCI_SUNXI is not set
 CONFIG_ALIGNMENT_TRAP=y
 # CONFIG_ARCH_AXXIA is not set
@@ -428,7 +427,6 @@ CONFIG_PREEMPT_NOTIFIERS=y
 CONFIG_PREEMPT_RCU=y
 CONFIG_PRINTK_TIME=y
 CONFIG_PROC_EVENTS=y
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_PTP_1588_CLOCK=y
 CONFIG_PWM=y
 CONFIG_PWM_SUN4I=y
diff --git a/target/linux/xburst/config-3.18 b/target/linux/xburst/config-3.18
index e1b28d6..099f5b0 100644
--- a/target/linux/xburst/config-3.18
+++ b/target/linux/xburst/config-3.18
@@ -251,7 +251,6 @@ CONFIG_PREEMPT_COUNT=y
 # CONFIG_PREEMPT_NONE is not set
 CONFIG_PREEMPT_RCU=y
 CONFIG_PRINTK_TIME=y
-CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_PWM=y
 CONFIG_PWM_JZ4740=y
 CONFIG_PWM_SYSFS=y
diff --git a/target/linux/zynq/config-4.4 b/target/linux/zynq/config-4.4
index 2bab6f2..e22f232 100644
--- a/target/linux/zynq/config-4.4
+++ b/target/linux/zynq/config-4.4
@@ -544,7 +544,6 @@ CONFIG_PREEMPT_COUNT=y
 # CONFIG_PREEMPT_NONE is not set
 CONFIG_PREEMPT_RCU=y
 CONFIG_PROC_EVENTS=y
-CONFIG_PROC_PAGE_MONITOR=y
 # CONFIG_PROC_STRIPPED is not set
 CONFIG_PTP_1588_CLOCK=y
 CONFIG_R8169=y



More information about the lede-commits mailing list