[PATCH -next v2 0/3] cpuset: code cleanups

Chen Ridong posted 3 patches 1 month, 1 week ago
kernel/cgroup/cpuset-internal.h | 10 ++++++---
kernel/cgroup/cpuset.c          | 40 ++++++++++++---------------------
2 files changed, 21 insertions(+), 29 deletions(-)
[PATCH -next v2 0/3] cpuset: code cleanups
Posted by Chen Ridong 1 month, 1 week ago
From: Chen Ridong <chenridong@huawei.com>

Patch 1 simplifies the error handling path in cpuset_set_nodes() by
returning directly on failure, eliminating an unnecessary jump.

Patch 2 removes the global remote_children list and replaces it with
a boolean remote_partition flag, which provides a more direct way
to identify remote partitions.

Patch 3 removes need_rebuild_sched_domains.

---

v2: Patch 2 moves up 'remote_partition' and removes redundant
    initialization.

Chen Ridong (3):
  cpuset: simplify node setting on error
  cpuset: remove global remote_children list
  cpuset: remove need_rebuild_sched_domains

 kernel/cgroup/cpuset-internal.h | 10 ++++++---
 kernel/cgroup/cpuset.c          | 40 ++++++++++++---------------------
 2 files changed, 21 insertions(+), 29 deletions(-)

-- 
2.34.1
Re: [PATCH -next v2 0/3] cpuset: code cleanups
Posted by Tejun Heo 1 month, 1 week ago
> Chen Ridong (3):
>   cpuset: simplify node setting on error
>   cpuset: remove global remote_children list
>   cpuset: remove need_rebuild_sched_domains

Applied 1-3 to cgroup/for-6.19.

Thanks.

--
tejun