The commit is pushed to "branch-rh9-5.14.0-162.18.1.vz9.19.x-ovz" and will
appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-162.18.1.vz9.19.4
------>
commit 297766fa08489bdf9906b7f2228a4c8608050f5d
Author: Konstantin Khorenko <[email protected]>
Date: Tue Apr 11 20:30:39 2023 +0300
configs/cgroup: Make cgroup v1 the default hierarcy
Add "systemd.unified_cgroup_hierarchy=0" to the kernel boot command line
which effectively asks kernel to use cgroups v1 by default.
If someone wants to use cgroups v2, adding
systemd.unified_cgroup_hierarchy=1 into the grub kernel command line
will do the trick.
https://jira.vzint.dev/browse/PSBM-146806
Signed-off-by: Konstantin Khorenko <[email protected]>
Feature: cgroup: unified cgroup hierarchy (cgroup v2) support
---
redhat/configs/custom-overrides/generic/CONFIG_CMDLINE | 1 +
redhat/configs/custom-overrides/generic/CONFIG_CMDLINE_BOOL | 1 +
redhat/configs/custom-overrides/generic/CONFIG_CMDLINE_OVERRIDE | 1 +
3 files changed, 3 insertions(+)
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE
b/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE
new file mode 100644
index 000000000000..1380a978c416
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE
@@ -0,0 +1 @@
+CONFIG_CMDLINE="systemd.unified_cgroup_hierarchy=0"
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE_BOOL
b/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE_BOOL
new file mode 100644
index 000000000000..a04ac67dfe3b
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE_BOOL
@@ -0,0 +1 @@
+CONFIG_CMDLINE_BOOL=y
diff --git a/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE_OVERRIDE
b/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE_OVERRIDE
new file mode 100644
index 000000000000..75d188dd7f28
--- /dev/null
+++ b/redhat/configs/custom-overrides/generic/CONFIG_CMDLINE_OVERRIDE
@@ -0,0 +1 @@
+# CONFIG_CMDLINE_OVERRIDE is not set
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel