Skip to content

cgroup/cpuset: Miscellaneous updates

Waiman Long cgroups linux-kselftest lkml 2 versions – Applied

Status from this message: Applied to cgroup/for-6.3-fixes w/ stable cc'd.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesApplied
  2. v15 patches 17 repliesSuperseded

Changes in v2 from the cover letter

- Add a new patch 1 that fixes a bug introduced by recent v6.2 commit 7a2127e66a00 ("cpuset: Call set_cpus_allowed_ptr() with appropriate mask for task").
- Make a small twist and additional comment to patch 2 ("cgroup/cpuset:
Skip task update if hotplug doesn't affect current cpuset") as suggested by Michal.
- Remove v1 patches 3/4 for now for further discussion.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4cgroup/cpuset: Fix partition root's cpuset.cpus update bugkernel/cgroup/cpuset.c+10 -21 reply
2/4cgroup/cpuset: Skip task update if hotplug doesn't affect current cpusetkernel/cgroup/cpuset.c+3 -00 replies
3/4cgroup/cpuset: Include offline CPUs when tasks' cpumasks in top_cpuset are updatedkernel/cgroup/cpuset.c+14 -93 replies
4/4cgroup/cpuset: Minor updates to test_cpuset_prs.shtools/testing/selftests/cgroup/test_cpuset_prs.sh+14 -111 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchMichal Koutný
1/4
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] cgroup/cpuset: Miscellaneous updates

v2:
- Add a new patch 1 that fixes a bug introduced by recent v6.2 commit 7a2127e66a00 ("cpuset: Call set_cpus_allowed_ptr() with appropriate mask for task").
- Make a small twist and additional comment to patch 2 ("cgroup/cpuset:
Skip task update if hotplug doesn't affect current cpuset") as suggested by Michal.
- Remove v1 patches 3/4 for now for further discussion.

This patch series includes miscellaneous update to the cpuset and its testing code.

Patch 1 fixes a bug caused by commit 7a2127e66a00 ("cpuset: Call set_cpus_allowed_ptr() with appropriate mask for task") in the partition handling code. This fix was verified by running the test_cpuset_prs.sh test.

Patch 2 is for a hotplug optimization.

Patch 3 is actually a follow-up of commit 3fb906e7fabb ("cgroup/cpuset:
Don't filter offline CPUs in cpuset_cpus_allowed() for top cpuset tasks").

Patch 4 reduces verbosity when running test_cpuset_prs.sh test script unless explicitly enabled with the -v option.

Waiman Long (4):
cgroup/cpuset: Fix partition root's cpuset.cpus update bug cgroup/cpuset: Skip task update if hotplug doesn't affect current
cpuset
cgroup/cpuset: Include offline CPUs when tasks' cpumasks in top_cpuset
are updated
cgroup/cpuset: Minor updates to test_cpuset_prs.sh

 kernel/cgroup/cpuset.c                        | 38 +++++++++++++------
 .../selftests/cgroup/test_cpuset_prs.sh       | 25 ++++++------
 2 files changed, 41 insertions(+), 22 deletions(-)
Signature · 1 line
2.31.1