mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next 0/3] cpuset: code cleanups
@ 2025-11-10  1:52 Chen Ridong
  2025-11-10  1:52 ` [PATCH -next 1/3] cpuset: simplify node setting on error Chen Ridong
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Chen Ridong @ 2025-11-10  1:52 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.

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


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

end of thread, other threads:[~2025-11-11  6:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-10  1:52 [PATCH -next 0/3] cpuset: code cleanups Chen Ridong
2025-11-10  1:52 ` [PATCH -next 1/3] cpuset: simplify node setting on error Chen Ridong
2025-11-10 14:27   ` Michal Koutný
2025-11-11  3:37     ` Chen Ridong
2025-11-11  4:26   ` Waiman Long
2025-11-11  6:16     ` Chen Ridong
2025-11-10  1:52 ` [PATCH -next 2/3] cpuset: remove global remote_children list Chen Ridong
2025-11-11  4:34   ` Waiman Long
2025-11-11  6:17     ` Chen Ridong
2025-11-10  1:52 ` [PATCH -next 3/3] cpuset: remove need_rebuild_sched_domains Chen Ridong
2025-11-11  4:37   ` Waiman Long
2025-11-11  6:18     ` Chen Ridong

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

all inboxes | Powered by JetHome®