From 897fa8ebd790e58945a9c564c3434ad1648b8a2d Mon Sep 17 00:00:00 2001 From: Dust Li Date: Tue, 7 Jul 2020 17:16:31 +0800 Subject: [PATCH] configs: disable CONFIG_REFCOUNT_FULL for release kernel fix #29180329 CONFIG_REFCOUNT_FULL is used for debugging mainly, for release kernel, it's better to diable it. This patch disables both x86 and aarch64 for release kernel. This has a pretty large performance penalty for will-it-scale:signal1_process when the process number are large. Signed-off-by: Dust Li Acked-by: Joseph Qi --- configs/config-4.19.y-aarch64 | 2 +- configs/config-4.19.y-x86_64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/config-4.19.y-aarch64 b/configs/config-4.19.y-aarch64 index 6a5293005d21..08f1e22032e2 100644 --- a/configs/config-4.19.y-aarch64 +++ b/configs/config-4.19.y-aarch64 @@ -750,7 +750,7 @@ CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y CONFIG_STRICT_KERNEL_RWX=y CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y CONFIG_STRICT_MODULE_RWX=y -CONFIG_REFCOUNT_FULL=y +# CONFIG_REFCOUNT_FULL is not set CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # diff --git a/configs/config-4.19.y-x86_64 b/configs/config-4.19.y-x86_64 index dc9335598606..ac8d46fda755 100644 --- a/configs/config-4.19.y-x86_64 +++ b/configs/config-4.19.y-x86_64 @@ -789,7 +789,7 @@ CONFIG_STRICT_KERNEL_RWX=y CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y CONFIG_STRICT_MODULE_RWX=y CONFIG_ARCH_HAS_REFCOUNT=y -CONFIG_REFCOUNT_FULL=y +# CONFIG_REFCOUNT_FULL is not set CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y # -- GitLab