Skip to content

mm: Memory offlining + page isolation cleanups

David Hildenbrand linux-mm lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 10 repliesIn review
  2. v12 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- "mm/page_alloc.c: Don't set pages PageReserved() when offlining" -- Fixup one comment
- "mm/page_isolation.c: Convert SKIP_HWPOISON to MEMORY_OFFLINE" -- Use parenthesis around checks
- Added ACKs

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/page_alloc.c: Don't set pages PageReserved() when offliningmm/memory_hotplug.c mm/page_alloc.c+2 -70 replies
2/2mm/page_isolation.c: Convert SKIP_HWPOISON to MEMORY_OFFLINEinclude/linux/page-isolation.h mm/memory_hotplug.c mm/page_alloc.c +1 more+15 -130 replies

Reviews trailers per patch

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

PatchMichal Hocko
1/2A-b
2/2A-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 offlining + page isolation cleanups

Two cleanups that popped up while working on (and discussing) virtio-mem:
https://lkml.org/lkml/2019/9/19/463

Tested with DIMMs on x86.

As discussed with michal in v1, I'll soon look into removing the use of PG_reserved during memory onlining completely - most probably disallowing to offline memory blocks with holes, cleaning up the onlining+offlining code.

v1 -> v2:
- "mm/page_alloc.c: Don't set pages PageReserved() when offlining" -- Fixup one comment
- "mm/page_isolation.c: Convert SKIP_HWPOISON to MEMORY_OFFLINE" -- Use parenthesis around checks
- Added ACKs

David Hildenbrand (2):
mm/page_alloc.c: Don't set pages PageReserved() when offlining mm/page_isolation.c: Convert SKIP_HWPOISON to MEMORY_OFFLINE

 include/linux/page-isolation.h |  4 ++--
 mm/memory_hotplug.c            | 12 ++++++------
 mm/page_alloc.c                |  9 +++------
 mm/page_isolation.c            | 12 ++++++------
 4 files changed, 17 insertions(+), 20 deletions(-)
Signature · 1 line
2.21.0