systemd/embedded-add-cpuset-cgv1-and-freezer-cgv1-option.patch
ShiXin 131017a2a5 embedded: add cpuset-cgv1 and freezer-cgv1 option and disable by default
Signed-off-by: ShiXin <shixin21@huawei.com>
(cherry picked from commit 48d029de4539ee11c4bfd361accdf3d70747a50c)
2024-03-04 11:22:38 +08:00

31 lines
1.1 KiB
Diff

From 23c1e8fa35af234cdaf2452e1c0c85232b7e83df Mon Sep 17 00:00:00 2001
From: ShiXin <shixin21@huawei.com>
Date: Fri, 1 Mar 2024 16:54:54 +0800
Subject: [PATCH] [Backport] embedded: add cpuset-cgv1 and freezer-cgv1 option
and disable by default
reason: No need to enable in embedded environment
Signed-off-by: ShiXin <shixin21@huawei.com>
---
embedded/meson_options.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/embedded/meson_options.txt b/embedded/meson_options.txt
index 24a44c5..69c195f 100644
--- a/embedded/meson_options.txt
+++ b/embedded/meson_options.txt
@@ -460,3 +460,9 @@ option('analyze', type: 'boolean', value: 'true',
option('bpf-framework', type : 'combo', choices : ['auto', 'true', 'false'],
description: 'build BPF programs from source code in restricted C')
+
+option('cpuset-cgv1', type : 'boolean', value : 'false',
+ description : 'disable cgroup v1 cpuset support by default')
+
+option('freezer-cgv1', type : 'boolean', value : 'false',
+ description : 'disable cgroup v1 freezer support by default')
--
2.12.3