Skip to content

cgroup/cpuset: Remove redundant rebuild_sched_domains_locked() calls

Waiman Long cgroups lkml 1 version Applied

Status from this message: Applied to cgroup/for-6.13.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3cgroup/cpuset: Revert "Allow suppression of sched domain rebuild in update_cpumasks_hier()"kernel/cgroup/cpuset.c+14 -250 replies
2/3cgroup/cpuset: Enforce at most one rebuild_sched_domains_locked() call per operationkernel/cgroup/cpuset.c+33 -161 reply
3/3cgroup/cpuset: Further optimize code if CONFIG_CPUSETS_V1 not setkernel/cgroup/cpuset.c+19 -200 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchJuri Lelli
1/3
2/3T-b
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] cgroup/cpuset: Remove redundant rebuild_sched_domains_locked() calls

The main purpose of this series is to make sure that there will be at most one rebuild_sched_domains_locked() call per cpuset operation. Juri found that is still not the case. Make use of the existing cpuset_force_rebuild() helper as a replacement for a direct rebuild_sched_domains_locked() call and check force_sd_rebuild at the operation end.

The last patch is for removing some unnecessary v1 specific code if CONFIG_CPUSETS_V1 isn't set.

Waiman Long (3):
cgroup/cpuset: Revert "Allow suppression of sched domain rebuild in
update_cpumasks_hier()"
cgroup/cpuset: Enforce at most one rebuild_sched_domains_locked() call
per operation
cgroup/cpuset: Further optimize code if CONFIG_CPUSETS_V1 not set

 kernel/cgroup/cpuset.c | 121 +++++++++++++++++++++--------------------
 1 file changed, 63 insertions(+), 58 deletions(-)
Signature · 1 line
2.47.0