Skip to content

mm/memory_hotplug: Cure potential deadlocks vs. cpu hotplug lock

Thomas Gleixner linux-mm lkml 1 version Applied

Status from this message: [merged] mm-memory-hotplug-switch-locking-to-a-percpu-rwsem.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 14 repliesApplied 2/2

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: swap: Provide lru_add_drain_all_cpuslocked()include/linux/swap.h mm/swap.c+9 -35 repliesApplied
2/2mm/memory-hotplug: Switch locking to a percpu rwsemmm/memory_hotplug.c mm/page_alloc.c+16 -757 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichal HockoVlastimil Babka
1/2A-b A-b
2/2A-b A-b

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 V2 0/2] mm/memory_hotplug: Cure potential deadlocks vs. cpu hotplug lock

Andrey reported a potential deadlock with the memory hotplug lock and the cpu hotplug lock.

The following series addresses this by reworking the memory hotplug locking and fixing up the potential deadlock scenarios.

Applies against Linus head. All preliminaries are merged there already

Thanks,

tglx

---
 include/linux/swap.h |    1 
 mm/memory_hotplug.c  |   89 ++++++++-------------------------------------------
 mm/page_alloc.c      |    2 -
 mm/swap.c            |   11 ++++--
 4 files changed, 25 insertions(+), 78 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>