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

Chen Ridong posted 3 patches 1 month, 1 week ago
There is a newer version of this series
kernel/cgroup/cpuset-internal.h |  4 ++--
kernel/cgroup/cpuset.c          | 41 ++++++++++++---------------------
2 files changed, 17 insertions(+), 28 deletions(-)
[PATCH -next 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.

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 |  4 ++--
 kernel/cgroup/cpuset.c          | 41 ++++++++++++---------------------
 2 files changed, 17 insertions(+), 28 deletions(-)

-- 
2.34.1