public inbox for cgroups@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next v2 0/3] cpuset: code cleanups
@ 2025-11-11 13:24 Chen Ridong
  2025-11-11 13:24 ` [PATCH -next v2 1/3] cpuset: simplify node setting on error Chen Ridong
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Chen Ridong @ 2025-11-11 13:24 UTC (permalink / raw)
  To: longman, tj, hannes, mkoutny; +Cc: cgroups, linux-kernel, lujialin4, chenridong

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-11-12  0:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-11 13:24 [PATCH -next v2 0/3] cpuset: code cleanups Chen Ridong
2025-11-11 13:24 ` [PATCH -next v2 1/3] cpuset: simplify node setting on error Chen Ridong
2025-11-11 13:24 ` [PATCH -next v2 2/3] cpuset: remove global remote_children list Chen Ridong
2025-11-11 14:56   ` Waiman Long
2025-11-12  0:44     ` Chen Ridong
2025-11-11 13:24 ` [PATCH -next v2 3/3] cpuset: remove need_rebuild_sched_domains Chen Ridong
2025-11-11 21:56 ` [PATCH -next v2 0/3] cpuset: code cleanups Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox