]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cgroup/cpuset: introduce cpuset-v1.c
authorChen Ridong <chenridong@huawei.com>
Fri, 30 Aug 2024 10:02:18 +0000 (10:02 +0000)
committerTejun Heo <tj@kernel.org>
Fri, 30 Aug 2024 20:00:15 +0000 (10:00 -1000)
commit71e934a80863c2a9f4d27ee3360dc17e0a609aa6
tree6c50902abd94ae798788b1f35f5e843230a06502
parent43a17fcfcc4294f53ece15425ba362f5e28664c2
cgroup/cpuset: introduce cpuset-v1.c

This patch introduces the cgroup/cpuset-v1.c source file which will be
used for all legacy (cgroup v1) cpuset cgroup code. It also introduces
cgroup/cpuset-internal.h to keep declarations shared between
cgroup/cpuset.c and cpuset/cpuset-v1.c.

As of now, let's compile it if CONFIG_CPUSET is set. Later on it can be
switched to use a separate config option, so that the legacy code won't be
compiled if not required.

Signed-off-by: Chen Ridong <chenridong@huawei.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
MAINTAINERS
kernel/cgroup/Makefile
kernel/cgroup/cpuset-internal.h [new file with mode: 0644]
kernel/cgroup/cpuset-v1.c [new file with mode: 0644]