Some cleanups (+ one fix for a special case) in the context of online_pages(). Hope I am not missing something obvious. Did a sanity test with DIMMs only. David Hildenbrand (4): resource: Use PFN_UP / PFN_DOWN in walk_system_ram_range() mm/memory_hotplug: Handle unaligned start and nr_pages in online_pages_blocks() mm/memory_hotplug: Simplify online_pages_range() mm/memory_hotplug: online_pages cannot be 0 in online_pages() kernel/resource.c | 4 +-- mm/memory_hotplug.c | 62 ++++++++++++++++++++------------------------- 2 files changed, 30 insertions(+), 36 deletions(-) -- 2.21.0