[Devel] [PATCH RHEL8 COMMIT] configs: Enable CONFIG_PAGE_EXTENSION in minimal config + sanity overrides
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Jul 30 19:42:20 MSK 2021
The commit is pushed to "branch-rh8-4.18.0-305.3.1.vz8.7.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-305.3.1.vz8.7.1
------>
commit 4debdaa596c27ffb3cf1c4ef2a6a350d5b96af05
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Fri Jul 30 19:36:01 2021 +0300
configs: Enable CONFIG_PAGE_EXTENSION in minimal config + sanity overrides
CONFIG_PAGE_EXTENSION option required for
"mm: per-memcg pagecache limitation" feature, it's enabled by default in
release and debug configs, so enable it in minimal config as well.
+ introduce sanity overrides for those options which are enabled by
default in RHEL config at the moment, but as things might change we want
to be sure these options will be always enabled in VZ kernel as some VZ
specific options depend on them.
https://jira.sw.ru/browse/PSBM-131957
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
configs/kernel-4.18.0-x86_64-KVM-minimal.config | 2 +-
configs/kernel-4.18.0-x86_64-debug.config | 11 +++++++++++
configs/kernel-4.18.0-x86_64.config | 11 +++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/configs/kernel-4.18.0-x86_64-KVM-minimal.config b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
index 1080e84038ce..658e6967f59e 100644
--- a/configs/kernel-4.18.0-x86_64-KVM-minimal.config
+++ b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
@@ -4382,7 +4382,7 @@ CONFIG_DEBUG_KERNEL=y
#
# Memory Debugging
#
-# CONFIG_PAGE_EXTENSION is not set
+CONFIG_PAGE_EXTENSION=y
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_PAGE_POISONING is not set
# CONFIG_DEBUG_PAGE_REF is not set
diff --git a/configs/kernel-4.18.0-x86_64-debug.config b/configs/kernel-4.18.0-x86_64-debug.config
index 9f4c3a25c47a..b88049916d65 100644
--- a/configs/kernel-4.18.0-x86_64-debug.config
+++ b/configs/kernel-4.18.0-x86_64-debug.config
@@ -7919,6 +7919,17 @@ CONFIG_IKCONFIG_PROC=y
# CONFIG_TIME_NS is not set
+###############################################
+# Sanity overrides
+#
+# RHEL configs at the moment have them enabled, but as some VZ specific
+# features depend on them we want to make sure these options are always
+# enable din the future regardless RHEL configs.
+#
+
+# Required for "mm: per-memcg pagecache limitation" feature
+CONFIG_PAGE_EXTENSION=y
+
#
# OpenVZ
#
diff --git a/configs/kernel-4.18.0-x86_64.config b/configs/kernel-4.18.0-x86_64.config
index f27d162ac71a..e4578a6a846d 100644
--- a/configs/kernel-4.18.0-x86_64.config
+++ b/configs/kernel-4.18.0-x86_64.config
@@ -7866,6 +7866,17 @@ CONFIG_IKCONFIG_PROC=y
# CONFIG_TIME_NS is not set
+###############################################
+# Sanity overrides
+#
+# RHEL configs at the moment have them enabled, but as some VZ specific
+# features depend on them we want to make sure these options are always
+# enable din the future regardless RHEL configs.
+#
+
+# Required for "mm: per-memcg pagecache limitation" feature
+CONFIG_PAGE_EXTENSION=y
+
#
# OpenVZ
#
More information about the Devel
mailing list