[v3,0/3] cpuset: Allow setscheduler regardless of manipulated task

Message ID 20230703172741.25392-1-mkoutny@suse.com
Headers
Series cpuset: Allow setscheduler regardless of manipulated task |

Message

Michal Koutný July 3, 2023, 5:27 p.m. UTC
  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@suse.com):
- rebased on mainline
- drop is_in_v2_mode()

Changes in v1 (https://lore.kernel.org/r/20230629091146.28801-1-mkoutny@suse.com):
- added selftests
- comments rewording

RFC in https://lore.kernel.org/r/20220623124944.2753-1-mkoutny@suse.com

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
  

Comments

Tejun Heo July 10, 2023, 8:30 p.m. UTC | #1
Applied to cgroup/for-6.6.

Thanks.