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

Waiman Long posted 3 patches 1 week, 6 days ago
kernel/cgroup/cpuset.c | 121 +++++++++++++++++++++--------------------
1 file changed, 63 insertions(+), 58 deletions(-)
[PATCH 0/3] cgroup/cpuset: Remove redundant rebuild_sched_domains_locked() calls
Posted by Waiman Long 1 week, 6 days ago
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(-)

-- 
2.47.0
Re: [PATCH 0/3] cgroup/cpuset: Remove redundant rebuild_sched_domains_locked() calls
Posted by Tejun Heo 1 week, 4 days ago
On Sat, Nov 09, 2024 at 09:50:20PM -0500, Waiman Long wrote:
> 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

Applied to cgroup/for-6.13.

Thanks.

-- 
tejun