On 9/15/20 5:59 AM, Muchun Song wrote: > In the later patch, we will use {get,put}_page_bootmem() to initialize > the page for vmemmap or free vmemmap page to buddy. So move them out of > CONFIG_MEMORY_HOTPLUG_SPARSE. > > Signed-off-by: Muchun Song <songmuc...@bytedance.com>
More code movement. Acked-by: Mike Kravetz <mike.krav...@oracle.com> -- Mike Kravetz > --- > arch/x86/mm/init_64.c | 2 +- > include/linux/bootmem_info.h | 13 +++++++++++++ > include/linux/memory_hotplug.h | 4 ---- > mm/bootmem_info.c | 26 ++++++++++++++++++++++++++ > mm/memory_hotplug.c | 27 --------------------------- > mm/sparse.c | 1 + > 6 files changed, 41 insertions(+), 32 deletions(-)