commit | 52fb87c81f11daa7027af25fc24ac7974eb8f45a | [log] [tgz] |
---|---|---|
author | David Hildenbrand <[email protected]> | Mon Feb 03 17:34:23 2020 -0800 |
committer | Linus Torvalds <[email protected]> | Tue Feb 04 03:05:23 2020 +0000 |
tree | fb6dd87a6c8d4f640214af4b9cf57031adf17603 | |
parent | 5d12071c5de8621b911ac77dd1a3929f3aee7335 [diff] |
mm/memory_hotplug: cleanup __remove_pages() Let's drop the basically unused section stuff and simplify. Also, let's use a shorter variant to calculate the number of pages to the next section boundary. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: David Hildenbrand <[email protected]> Cc: Oscar Salvador <[email protected]> Cc: Michal Hocko <[email protected]> Cc: "Matthew Wilcox (Oracle)" <[email protected]> Cc: "Aneesh Kumar K.V" <[email protected]> Cc: Pavel Tatashin <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Dan Williams <[email protected]> Cc: Logan Gunthorpe <[email protected]> Cc: Pankaj Gupta <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>