mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] cgroup/cpuset: Make hotplug code more efficient
@ 2023-02-02  3:17 Waiman Long
  2023-02-02  3:17 ` [PATCH 1/2] cgroup/cpuset: Skip task update if hotplug doesn't affect current cpuset Waiman Long
  2023-02-02  3:17 ` [PATCH 2/2] cgroup/cpuset: Don't update tasks' cpumasks for cpu offline events Waiman Long
  0 siblings, 2 replies; 3+ messages in thread
From: Waiman Long @ 2023-02-02  3:17 UTC (permalink / raw)
  To: Tejun Heo, Zefan Li, Johannes Weiner, Will Deacon, Peter Zijlstra
  Cc: linux-kernel, cgroups, kernel-team, Waiman Long

This small patch series makes the cpuset hotplug a bit more efficient
by eliminating unnecessary task iteration and cpu/node masks update
when an hotplug event (online/offline) happens.

These patches can also avoid the known problem of missing a previously
gone offline cpu in v1 cpuset after a single cpu offline and online
sequence.

Waiman Long (2):
  cgroup/cpuset: Skip task update if hotplug doesn't affect current
    cpuset
  cgroup/cpuset: Don't update tasks' cpumasks for cpu offline events

 kernel/cgroup/cpuset.c | 31 +++++++++++++++++++++++--------
 1 file changed, 23 insertions(+), 8 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2023-02-02  3:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-02  3:17 [PATCH 0/2] cgroup/cpuset: Make hotplug code more efficient Waiman Long
2023-02-02  3:17 ` [PATCH 1/2] cgroup/cpuset: Skip task update if hotplug doesn't affect current cpuset Waiman Long
2023-02-02  3:17 ` [PATCH 2/2] cgroup/cpuset: Don't update tasks' cpumasks for cpu offline events Waiman Long

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®