Skip to content

lib/percpu_counter, cpu/hotplug: Cure the cpu_dying_mask woes

Dennis Zhou linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/percpu_counter: Fix CPU hotplug handlinginclude/linux/cpuhotplug.h lib/percpu_counter.c+29 -380 replies
2/3cpu/hotplug: Remove export of cpu_active_mask and cpu_dying_maskkernel/cpu.c+0 -20 replies
3/3cpu/hotplug: Get rid of cpu_dying_maskinclude/linux/cpumask.h kernel/cpu.c kernel/sched/core.c +1 more+41 -290 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchValentin Schneider
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH 0/3 v2] lib/percpu_counter, cpu/hotplug: Cure the cpu_dying_mask woes

Hi everyone,

This is a respin of Thomas' series [1] against v6.7-rc4. Largely it's the same minus a slight change in percpu_counter.c for batch percpu_counters and updating __percpu_counter_limited_add().

I don't think we reached an alternative resolution here so I can queue this up and give it some soak time in for-next.

[1] https://lore.kernel.org/lkml/[email protected]/

Thanks,
Dennis

Dennis Zhou (2):
lib/percpu_counter: Fix CPU hotplug handling
cpu/hotplug: Get rid of cpu_dying_mask

Thomas Gleixner (1):
cpu/hotplug: Remove export of cpu_active_mask and cpu_dying_mask

 include/linux/cpuhotplug.h |  2 +-
 include/linux/cpumask.h    | 21 ------------
 kernel/cpu.c               | 45 +++++++++++++++++++++-----
 kernel/sched/core.c        |  4 +--
 kernel/smpboot.h           |  2 ++
 lib/percpu_counter.c       | 65 ++++++++++++++++----------------------
 6 files changed, 70 insertions(+), 69 deletions(-)
Signature · 1 line
2.39.1