Skip to content

cgroup/cpuset: Make hotplug code more efficient

Waiman Long cgroups lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- It turns out it works around the v1 cpuset missing offline cpu problem better than I originally thought. So the patch description is updated accordingly.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cgroup/cpuset: Skip task update if hotplug doesn't affect current cpusetkernel/cgroup/cpuset.c+3 -00 replies
2/2cgroup/cpuset: Don't update tasks' cpumasks for cpu offline eventskernel/cgroup/cpuset.c+20 -83 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] cgroup/cpuset: Make hotplug code more efficient

v2:
- It turns out it works around the v1 cpuset missing offline cpu problem better than I originally thought. So the patch description is updated accordingly.

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

It can also largely work around the known problem of missing previously offlined cpus in v1 cpuset with some exceptions.

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(-)
Signature · 1 line
2.31.1