lkml.org 
[lkml]   [2019]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] mm: Memory offlining + page isolation cleanups
Date
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

\
 
 \ /
  Last update: 2019-10-21 19:25    [W:0.064 / U:0.800 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site