[PATCH v3 0/3] cpuset: Allow setscheduler regardless of manipulated task
From: Michal Koutný
Date: Mon Jul 03 2023 - 13:27:50 EST
Changes in v3:
- only skip permissions check when effective affinity doesn't change
- update commit message accordingly
Changes in v2 (https://lore.kernel.org/r/20230630183908.32148-1-mkoutny@xxxxxxxx):
- rebased on mainline
- drop is_in_v2_mode()
Changes in v1 (https://lore.kernel.org/r/20230629091146.28801-1-mkoutny@xxxxxxxx):
- added selftests
- comments rewording
RFC in https://lore.kernel.org/r/20220623124944.2753-1-mkoutny@xxxxxxxx
Michal Koutný (3):
cpuset: Allow setscheduler regardless of manipulated task
selftests: cgroup: Minor code reorganizations
selftests: cgroup: Add cpuset migrations testcase
MAINTAINERS | 2 +
kernel/cgroup/cpuset.c | 19 +-
tools/testing/selftests/cgroup/.gitignore | 1 +
tools/testing/selftests/cgroup/Makefile | 2 +
tools/testing/selftests/cgroup/cgroup_util.c | 2 +
tools/testing/selftests/cgroup/cgroup_util.h | 2 +
tools/testing/selftests/cgroup/test_core.c | 2 +-
tools/testing/selftests/cgroup/test_cpuset.c | 275 ++++++++++++++++++
.../selftests/cgroup/test_cpuset_prs.sh | 2 +-
9 files changed, 302 insertions(+), 5 deletions(-)
create mode 100644 tools/testing/selftests/cgroup/test_cpuset.c
base-commit: e55e5df193d247a38a5e1ac65a5316a0adcc22fa
--
2.41.0