diff options
| author | Chen Ridong <chenridong@huawei.com> | 2024-08-30 10:02:28 +0000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2024-08-30 10:00:16 -1000 |
| commit | 1abab1ba0775036bb67c6c57945c637be644c04f (patch) | |
| tree | 2ba00e983c38999335d5b1a20b009f1d6ec3f912 /kernel/cgroup/Makefile | |
| parent | 381b53c3b5494026199a11a2744074086e352b2b (diff) | |
| download | linux-1abab1ba0775036bb67c6c57945c637be644c04f.tar.gz linux-1abab1ba0775036bb67c6c57945c637be644c04f.tar.bz2 linux-1abab1ba0775036bb67c6c57945c637be644c04f.zip | |
cgroup/cpuset: guard cpuset-v1 code under CONFIG_CPUSETS_V1
This patch introduces CONFIG_CPUSETS_V1 and guard cpuset-v1 code under
CONFIG_CPUSETS_V1. The default value of CONFIG_CPUSETS_V1 is N, so that
user who adopted v2 don't have 'pay' for cpuset v1.
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/Makefile')
| -rw-r--r-- | kernel/cgroup/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/cgroup/Makefile b/kernel/cgroup/Makefile index 005ac4c675cb..a5c9359d516f 100644 --- a/kernel/cgroup/Makefile +++ b/kernel/cgroup/Makefile @@ -4,6 +4,7 @@ obj-y := cgroup.o rstat.o namespace.o cgroup-v1.o freezer.o obj-$(CONFIG_CGROUP_FREEZER) += legacy_freezer.o obj-$(CONFIG_CGROUP_PIDS) += pids.o obj-$(CONFIG_CGROUP_RDMA) += rdma.o -obj-$(CONFIG_CPUSETS) += cpuset.o cpuset-v1.o +obj-$(CONFIG_CPUSETS) += cpuset.o +obj-$(CONFIG_CPUSETS_V1) += cpuset-v1.o obj-$(CONFIG_CGROUP_MISC) += misc.o obj-$(CONFIG_CGROUP_DEBUG) += debug.o |
