linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm: Memory offlining + page isolation cleanups
@ 2019-10-21 17:23 David Hildenbrand
  2019-10-21 17:23 ` [PATCH v2 1/2] mm/page_alloc.c: Don't set pages PageReserved() when offlining David Hildenbrand
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: David Hildenbrand @ 2019-10-21 17:23 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-mm, David Hildenbrand, Alexander Duyck, Andrew Morton,
	Anshuman Khandual, Dan Williams, Mel Gorman, Michal Hocko,
	Mike Rapoport, Mike Rapoport, Oscar Salvador, Pavel Tatashin,
	Pavel Tatashin, Pingfan Liu, Qian Cai, Vlastimil Babka, Wei Yang

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(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-10-22  9:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 17:23 [PATCH v2 0/2] mm: Memory offlining + page isolation cleanups David Hildenbrand
2019-10-21 17:23 ` [PATCH v2 1/2] mm/page_alloc.c: Don't set pages PageReserved() when offlining David Hildenbrand
2019-10-21 17:23 ` [PATCH v2 2/2] mm/page_isolation.c: Convert SKIP_HWPOISON to MEMORY_OFFLINE David Hildenbrand
2019-10-22  6:52 ` [PATCH v2 0/2] mm: Memory offlining + page isolation cleanups David Hildenbrand
2019-10-22  8:08   ` Michal Hocko
2019-10-22  8:15     ` David Hildenbrand
2019-10-22  8:21       ` Michal Hocko
2019-10-22  8:32         ` David Hildenbrand
2019-10-22  8:38           ` David Hildenbrand
2019-10-22  9:14           ` Michal Hocko
2019-10-22  9:17             ` David Hildenbrand
2019-10-22  9:24               ` Michal Hocko
2019-10-22  9:27                 ` David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).