mbox series

[v3,0/4] mm: clean up names and parameters of memmap_init_xxxx functions

Message ID 20210105074708.18483-1-bhe@redhat.com (mailing list archive)
Headers show
Series mm: clean up names and parameters of memmap_init_xxxx functions | expand

Message

Baoquan He Jan. 5, 2021, 7:47 a.m. UTC
This patchset is correcting inappropriate function names of
memmap_init_xxx, and simplify parameters of functions in the code flow
when I tried to fix a regression bug in memmap defer init. These are
taken from the v2 patchset, the bug fixing patch has bee sent alone and
merged. So send the rest as v3.

No any change comparing with v2, except of adding Mike's 'Reviewed-by' tag.

V2 post is here:
https://lore.kernel.org/linux-mm/20201220082754.6900-1-bhe@redhat.com/

Baoquan He (4):
  mm: rename memmap_init() and memmap_init_zone()
  mm: simplify parater of function memmap_init_zone()
  mm: simplify parameter of setup_usemap()
  mm: remove unneeded local variable in free_area_init_core

 arch/ia64/include/asm/pgtable.h |  3 +-
 arch/ia64/mm/init.c             | 14 +++++----
 include/linux/mm.h              |  2 +-
 mm/memory_hotplug.c             |  2 +-
 mm/page_alloc.c                 | 54 +++++++++++++++------------------
 5 files changed, 36 insertions(+), 39 deletions(-)