Skip to content

mm: remove the memory isolate notifier

David Hildenbrand linux-mm linuxppc-dev lkml 1 version Applied

Status from this message: [merged] mm-remove-count-parameter-from-has_unmovable_pages.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesApplied 2/2

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: remove the memory isolate notifierdrivers/base/memory.c include/linux/memory.h mm/page_isolation.c+4 -802 repliesApplied
2/2mm: remove "count" parameter from has_unmovable_pages()include/linux/page-isolation.h mm/memory_hotplug.c mm/page_alloc.c +1 more+11 -181 replyApplied

Reviews trailers per patch

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

PatchMichal HockoGreg Kroah-Hartman
1/2A-b R-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: remove the memory isolate notifier

This is the MM part of

	https://lkml.org/lkml/2019/10/31/487

"We can get rid of the memory isolate notifier by switching to balloon compaction in powerpc's CMM (Collaborative Memory Management). The memory isolate notifier was only necessary to allow to offline memory blocks that contain inflated/"loaned" pages - which also possible when the inflated pages are movable (via balloon compaction). [...]"

Michael queued the POWERPC bits that remove the single user, but I am missing ACKs for the MM bits. I think it makes sense to let these two patches also go via Michael's tree, to avoid collissions. Thoughts?

v1 -> v2: (MM bits)
- "mm: remove the memory isolate notifier"
-- Remove another stale comment
-- Minor code cleanup

David Hildenbrand (2):
mm: remove the memory isolate notifier
mm: remove "count" parameter from has_unmovable_pages()

 drivers/base/memory.c          | 19 -----------------
 include/linux/memory.h         | 27 ------------------------
 include/linux/page-isolation.h |  4 ++--
 mm/memory_hotplug.c            |  2 +-
 mm/page_alloc.c                | 21 +++++++------------
 mm/page_isolation.c            | 38 ++++------------------------------
 6 files changed, 14 insertions(+), 97 deletions(-)
Signature · 1 line
2.21.0