Do not touch pages in hot-remove path
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest5 patches 20 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mm, memory_hotplug: Add nid parameter to arch_remove_memoryarch/ arch/ arch/ +6 more | +15 | 0 replies | |
| 2/5 | kernel, resource: Check for IORESOURCE_SYSRAM in release_mem_region_adjustablekernel/ | +15 | 0 replies | |
| 3/5 | mm, memory_hotplug: Move zone/pages handling to offline stagearch/ arch/ arch/ +5 more | +76 | 3 replies | |
| 4/5 | mm, memory-hotplug: Rework unregister_mem_sect_under_nodesdrivers/ drivers/ include/ +2 more | +16 | 4 replies | |
| 5/5 | mm, memory_hotplug: Refactor shrink_zone/pgdat_spanmm/ | +64 | 13 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Pavel Tatashin | Jonathan Cameron |
|---|---|---|---|
| 1/5 | R-b | R-b | |
| 2/5 | R-b | R-b | |
| 3/5 | |||
| 4/5 | T-b | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/5] Do not touch pages in hot-remove path
From: Oscar Salvador <[email protected]>
This patchset is based on Dan's HMM/devm refactorization [1].
----
This patchset aims for two things:
1) A better definition about offline and hot-remove stage
2) Solving bugs where we can access non-initialized pages during hot-remove operations [2] [3].
This is achieved by moving all page/zone handling to the offline stage, so we do not need to access pages when hot-removing memory.
[1] https://patchwork.kernel.org/cover/10691415/
[2] https://patchwork.kernel.org/patch/10547445/
[3] https://www.spinics.net/lists/linux-mm/msg161316.html
Oscar Salvador (5):
mm, memory_hotplug: Add nid parameter to arch_remove_memory kernel, resource: Check for IORESOURCE_SYSRAM in
release_mem_region_adjustable
mm, memory_hotplug: Move zone/pages handling to offline stage mm, memory-hotplug: Rework unregister_mem_sect_under_nodes mm, memory_hotplug: Refactor shrink_zone/pgdat_span
arch/ia64/mm/init.c | 2 +- arch/powerpc/mm/mem.c | 14 +-- arch/s390/mm/init.c | 2 +- arch/sh/mm/init.c | 6 +- arch/x86/mm/init_32.c | 5 +- arch/x86/mm/init_64.c | 11 +- drivers/base/memory.c | 9 +- drivers/base/node.c | 39 +------ include/linux/memory.h | 2 +- include/linux/memory_hotplug.h | 12 +- include/linux/node.h | 9 +- kernel/memremap.c | 19 ++- kernel/resource.c | 15 +++ mm/memory_hotplug.c | 254 +++++++++++++++++++---------------------- mm/sparse.c | 4 +- 15 files changed, 182 insertions(+), 221 deletions(-)
Signature · 1 line
2.13.6