kernel: optimize for performance by default starting with 4.14
authorFelix Fietkau <nbd@nbd.name>
Thu, 22 Feb 2018 19:18:58 +0000 (20:18 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 24 Feb 2018 15:05:28 +0000 (16:05 +0100)
Keep size optimizations for smaller targets that already switched

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/config-4.14
target/linux/lantiq/config-4.14
target/linux/ramips/mt7620/config-4.14
target/linux/ramips/mt76x8/config-4.14
target/linux/ramips/rt288x/config-4.14
target/linux/ramips/rt305x/config-4.14
target/linux/ramips/rt3883/config-4.14

index 07c3851cd1ce35e6d9791d7d1e58fd6ae92cb2a5..343cf42f5e381bffd93ff68e5c9e91ad22f9dbaf 100644 (file)
@@ -715,8 +715,8 @@ CONFIG_CARDBUS=y
 # CONFIG_CB710_CORE is not set
 # CONFIG_CC10001_ADC is not set
 # CONFIG_CCS811 is not set
-# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
-CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 # CONFIG_CC_STACKPROTECTOR is not set
 CONFIG_CC_STACKPROTECTOR_NONE=y
 # CONFIG_CC_STACKPROTECTOR_REGULAR is not set
index 172ce9099295836b54913b7427d984b7f78970bf..063f2ba3eb5436044b6f0f42ccb578e4ee47e77f 100644 (file)
@@ -21,6 +21,8 @@ CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
 CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
 # CONFIG_ARCH_WANTS_THP_SWAP is not set
 CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
+# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_CEVT_R4K=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_CLONE_BACKWARDS=y
index 49263248be674950787bb29a038b31e81f2d9aea..a65fdba29efd0c4901606fd1e64d7b5742f93192 100644 (file)
@@ -23,6 +23,8 @@ CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
 CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
 CONFIG_AT803X_PHY=y
 CONFIG_BLK_MQ_PCI=y
+# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_CEVT_R4K=y
 CONFIG_CEVT_SYSTICK_QUIRK=y
 CONFIG_CLKDEV_LOOKUP=y
index 56e734d0d33fe3f2fa83bdf48f6cb4076e0c9796..0939aa4d4673f94daaec8d6bb1d4aebde342f169 100644 (file)
@@ -23,6 +23,8 @@ CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
 CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
 CONFIG_AT803X_PHY=y
 CONFIG_BLK_MQ_PCI=y
+# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_CEVT_R4K=y
 CONFIG_CEVT_SYSTICK_QUIRK=y
 CONFIG_CLKDEV_LOOKUP=y
index 724cbeb99ae895e59f834ee0c6b3701a8adec298..dba539766b04f161bccb107d120d9e2afc33cb6b 100644 (file)
@@ -22,6 +22,8 @@ CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
 # CONFIG_ARCH_WANTS_THP_SWAP is not set
 CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
 CONFIG_BLK_MQ_PCI=y
+# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_CEVT_R4K=y
 # CONFIG_CEVT_SYSTICK_QUIRK is not set
 CONFIG_CLKDEV_LOOKUP=y
index ae843f3720b0f673cac66d290dd3d027f2f67755..33be3910a921af39dbf8f03250bdac0368e3fbce 100644 (file)
@@ -12,6 +12,8 @@ CONFIG_ARCH_SUPPORTS_UPROBES=y
 CONFIG_ARCH_SUSPEND_POSSIBLE=y
 CONFIG_ARCH_USE_BUILTIN_BSWAP=y
 CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
+# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_CEVT_R4K=y
 CONFIG_CEVT_SYSTICK_QUIRK=y
 CONFIG_CLKDEV_LOOKUP=y
index 2e2550a936df37d282b26ad9ff0b9f2b1754667c..6a0386fa47985c26b09cbb706dbd10d5cc9404dc 100644 (file)
@@ -23,6 +23,8 @@ CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
 # CONFIG_ARCH_WANTS_THP_SWAP is not set
 CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
 CONFIG_BLK_MQ_PCI=y
+# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_CEVT_R4K=y
 # CONFIG_CEVT_SYSTICK_QUIRK is not set
 CONFIG_CLKDEV_LOOKUP=y