lkml.org 
[lkml]   [2020]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 02/24] mm/memory_hotplug: Move {get,put}_page_bootmem() to bootmem_info.c
From
Date
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(-)

\
 
 \ /
  Last update: 2020-09-30 01:34    [W:0.376 / U:6.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site