[Devel] [PATCH RHEL9 COMMIT] configs: disable cpu partial slab support

Konstantin Khorenko khorenko at virtuozzo.com
Wed Jul 24 17:43:38 MSK 2024


The commit is pushed to "branch-rh9-5.14.0-427.22.1.vz9.64.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.22.1.vz9.62.9
------>
commit f42f9d64f00db2f2aa31cc1cc172203aa3497fa8
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Wed Jul 24 17:38:39 2024 +0300

    configs: disable cpu partial slab support
    
    Cpu partial slab support had been made configurable by commit
    e0e16ab86019 ("ms/slub: Make cpu partial slab support configurable")
    
    In vz7 we have this option disabled because this saved us about a 1G
    in dvd-store test.
    
    Let's try to disable it in vz9 as well and review influence on perf test.
    
    https://virtuozzo.atlassian.net/browse/PSBM-83199
    https://virtuozzo.atlassian.net/browse/PSBM-130475
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 configs/kernel-5.14.0-x86_64-debug.config                       | 2 +-
 configs/kernel-5.14.0-x86_64.config                             | 2 +-
 redhat/configs/custom-overrides/generic/CONFIG_SLUB_CPU_PARTIAL | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configs/kernel-5.14.0-x86_64-debug.config b/configs/kernel-5.14.0-x86_64-debug.config
index 6e0445cac113..2618448e4c5b 100644
--- a/configs/kernel-5.14.0-x86_64-debug.config
+++ b/configs/kernel-5.14.0-x86_64-debug.config
@@ -5186,7 +5186,7 @@ CONFIG_SLIP=m
 # CONFIG_SLIP_MODE_SLIP6 is not set
 CONFIG_SLIP_SMART=y
 CONFIG_SLS=y
-CONFIG_SLUB_CPU_PARTIAL=y
+# CONFIG_SLUB_CPU_PARTIAL is not set
 # CONFIG_SLUB_DEBUG_ON is not set
 CONFIG_SLUB_DEBUG=y
 CONFIG_SLUB_KUNIT_TEST=m
diff --git a/configs/kernel-5.14.0-x86_64.config b/configs/kernel-5.14.0-x86_64.config
index c34899047c4f..827c0d9d29b8 100644
--- a/configs/kernel-5.14.0-x86_64.config
+++ b/configs/kernel-5.14.0-x86_64.config
@@ -5165,7 +5165,7 @@ CONFIG_SLIP=m
 # CONFIG_SLIP_MODE_SLIP6 is not set
 CONFIG_SLIP_SMART=y
 CONFIG_SLS=y
-CONFIG_SLUB_CPU_PARTIAL=y
+# CONFIG_SLUB_CPU_PARTIAL is not set
 # CONFIG_SLUB_DEBUG_ON is not set
 CONFIG_SLUB_DEBUG=y
 CONFIG_SLUB_KUNIT_TEST=m
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_SLUB_CPU_PARTIAL b/redhat/configs/custom-overrides/generic/CONFIG_SLUB_CPU_PARTIAL
new file mode 100644
index 000000000000..9389ed20b994
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_SLUB_CPU_PARTIAL
@@ -0,0 +1 @@
+# CONFIG_SLUB_CPU_PARTIAL is not set


More information about the Devel mailing list