Skip to content

mm/memory_hotplug: online/offline_pages refactorings

David Hildenbrand linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm/memory_hotplug: drop intermediate __offline_pagesmm/memory_hotplug.c+3 -104 replies
2/5mm/memory_hotplug: enforce section alignment when onlining/offliningmm/memory_hotplug.c+7 -33 replies
3/5mm/memory_hotplug: check if sections are already online/offlineinclude/linux/mmzone.h mm/memory_hotplug.c mm/sparse.c+35 -03 replies
4/5mm/memory_hotplug: onlining pages can only fail due to notifiersmm/memory_hotplug.c+2 -71 reply
5/5mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()mm/memory_hotplug.c+6 -08 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchOscar SalvadorPavel Tatashin
1/5R-b
2/5R-b
3/5
4/5R-b
5/5

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 v1 0/5] mm/memory_hotplug: online/offline_pages refactorings

While looking into onlining/offlining of subsections, I noticed that online/offlining code can in its current form only deal with whole sections and that onlining/offlining of sections that are already online/offline is problematic. So let's add some additional checks (that also serve as implicit documentation) and do some cleanups.

David Hildenbrand (5):
mm/memory_hotplug: drop intermediate __offline_pages mm/memory_hotplug: enforce section alignment when onlining/offlining mm/memory_hotplug: check if sections are already online/offline mm/memory_hotplug: onlining pages can only fail due to notifiers mm/memory_hotplug: print only with DEBUG_VM in online/offline_pages()

 include/linux/mmzone.h |  2 ++
 mm/memory_hotplug.c    | 43 ++++++++++++++++++++++--------------------
 mm/sparse.c            | 28 +++++++++++++++++++++++++++
 3 files changed, 53 insertions(+), 20 deletions(-)
Signature · 1 line
2.17.1