| Subject | Re: [RFC PATCH 02/24] mm/memory_hotplug: Move {get,put}_page_bootmem() to bootmem_info.c | From | Mike Kravetz <> | Date | Tue, 29 Sep 2020 16:30:09 -0700 |
| |
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 <songmuchun@bytedance.com>
More code movement.
Acked-by: Mike Kravetz <mike.kravetz@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(-)
|