Re: [RFC PATCH 01/24] mm/memory_hotplug: Move bootmem info registration API to bootmem_info.c

From: Mike Kravetz
Date: Tue Sep 29 2020 - 18:46:54 EST


On 9/15/20 5:59 AM, Muchun Song wrote:
> Move bootmem info registration common API to individual bootmem_info.c
> for later patch use.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

This is just code movement.

Acked-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
--
Mike Kravetz

> ---
> arch/x86/mm/init_64.c | 1 +
> include/linux/bootmem_info.h | 27 ++++++++++
> include/linux/memory_hotplug.h | 23 --------
> mm/Makefile | 1 +
> mm/bootmem_info.c | 99 ++++++++++++++++++++++++++++++++++
> mm/memory_hotplug.c | 91 +------------------------------
> 6 files changed, 129 insertions(+), 113 deletions(-)
> create mode 100644 include/linux/bootmem_info.h
> create mode 100644 mm/bootmem_info.c