mm: Further memory block device cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 9 repliesIn review
- v26 patches 3 repliesSuperseded
- v16 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- "mm/memory_hotplug: Rename walk_memory_range() and pass start+size .." -- Avoid warning on ppc.
- "drivers/base/memory.c: Get rid of find_memory_block_hinted()" -- Fixup a comment regarding hinted devices.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mm: Section numbers use the type "unsigned long"drivers/ include/ mm/ | +21 | 0 replies | |
| 2/6 | drivers/base/memory: Use "unsigned long" for block idsdrivers/ | +11 | 0 replies | |
| 3/6 | mm: Make register_mem_sect_under_node() staticdrivers/ include/ | +2 | 0 replies | |
| 4/6 | mm/memory_hotplug: Rename walk_memory_range() and pass start+size instead of pfnsarch/ drivers/ drivers/ +2 more | +32 | 0 replies | |
| 5/6 | mm/memory_hotplug: Move and simplify walk_memory_blocks()drivers/ include/ include/ +1 more | +45 | 1 reply | |
| 6/6 | drivers/base/memory.c: Get rid of find_memory_block_hinted()drivers/ include/ | +11 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by.
| Patch | Qian Cai |
|---|---|
| Series | T-b |
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/6] mm: Further memory block device cleanups
@Andrew: Only patch 1, 4 and 6 changed compared to v1.
Some further cleanups around memory block devices. Especially, clean up and simplify walk_memory_range(). Including some other minor cleanups.
Compiled + tested on x86 with DIMMs under QEMU. Compile-tested on ppc64.
v2 -> v3:
- "mm/memory_hotplug: Rename walk_memory_range() and pass start+size .." -- Avoid warning on ppc.
- "drivers/base/memory.c: Get rid of find_memory_block_hinted()" -- Fixup a comment regarding hinted devices.
v1 -> v2:
- "mm: Section numbers use the type "unsigned long""
-- "unsigned long i" -> "unsigned long nr", in one case -> "int i"
- "drivers/base/memory.c: Get rid of find_memory_block_hinted(" -- Fix compilation error
-- Get rid of the "hint" parameter completely
David Hildenbrand (6):
mm: Section numbers use the type "unsigned long" drivers/base/memory: Use "unsigned long" for block ids
mm: Make register_mem_sect_under_node() static mm/memory_hotplug: Rename walk_memory_range() and pass start+size
instead of pfns
mm/memory_hotplug: Move and simplify walk_memory_blocks() drivers/base/memory.c: Get rid of find_memory_block_hinted()
arch/powerpc/platforms/powernv/memtrace.c | 23 ++--- drivers/acpi/acpi_memhotplug.c | 19 +--- drivers/base/memory.c | 120 +++++++++++++--------- drivers/base/node.c | 8 +- include/linux/memory.h | 5 +- include/linux/memory_hotplug.h | 2 - include/linux/mmzone.h | 4 +- include/linux/node.h | 7 -- mm/memory_hotplug.c | 57 +--------- mm/sparse.c | 12 +-- 10 files changed, 106 insertions(+), 151 deletions(-)
Signature · 1 line
2.21.0