Skip to content

powerpc/64s: fix for CPU hotplug vs mm_cpumask bug

Nicholas Piggin linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handlingkernel/cpu.c+5 -11 reply
2/2powerpc/64s: Trim offlined CPUs from mm_cpumasksarch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/mm/book3s64/mmu_context.c arch/powerpc/platforms/powermac/smp.c +2 more+40 -05 replies

Reviews trailers per patch

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

PatchPeter Zijlstra (Intel)
1/2A-b
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] powerpc/64s: fix for CPU hotplug vs mm_cpumask bug

This fixes a race in powerpc mm_cpumask code, I hope the core kernel patch looks okay and we could take it through the powerpc tree with an ack from someone (Peter or Thomas, perhaps?)

Thanks,
Nick

Nicholas Piggin (2):
kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handling powerpc/64s: Trim offlined CPUs from mm_cpumasks

 arch/powerpc/include/asm/book3s/64/mmu.h     | 12 ++++++++++++
 arch/powerpc/mm/book3s64/mmu_context.c       | 20 ++++++++++++++++++++
 arch/powerpc/platforms/powermac/smp.c        |  2 ++
 arch/powerpc/platforms/powernv/smp.c         |  3 +++
 arch/powerpc/platforms/pseries/hotplug-cpu.c |  3 +++
 kernel/cpu.c                                 |  6 +++++-
 6 files changed, 45 insertions(+), 1 deletion(-)
Signature · 1 line
2.23.0