diff options
author | Michal Koutný <mkoutny@suse.com> | 2021-12-17 16:48:54 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-01-12 11:24:45 -1000 |
commit | d068eebbd4822b6c14a7ea375dfe53ca5c69c776 (patch) | |
tree | 2aa0efc5e3f19af01134f2af8becab91a08f8cc5 /.gitignore | |
parent | daadb3bd0e8d3e317e36bc2c1542e86c528665e5 (diff) | |
download | linux-d068eebbd4822b6c14a7ea375dfe53ca5c69c776.tar.bz2 |
cgroup/cpuset: Make child cpusets restrict parents on v1 hierarchy
The commit 1f1562fcd04a ("cgroup/cpuset: Don't let child cpusets
restrict parent in default hierarchy") inteded to relax the check only
on the default hierarchy (or v2 mode) but it dropped the check in v1
too.
This patch returns and separates the legacy-only validations so that
they can be considered only in the v1 mode, which should enforce the old
constraints for the sake of compatibility.
Fixes: 1f1562fcd04a ("cgroup/cpuset: Don't let child cpusets restrict parent in default hierarchy")
Suggested-by: Waiman Long <longman@redhat.com>
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions