mbox series

[0/7] mm: minor clean up and improvement

Message ID 20240325150459.1045407-1-bhe@redhat.com (mailing list archive)
Headers show
Series mm: minor clean up and improvement | expand

Message

Baoquan He March 25, 2024, 3:04 p.m. UTC
These mostly are for mm init when going through code flow.

Baoquan He (7):
  mm/mm_init.c: remove the useless dma_reserve
  mm/mm_init.c: add new function calc_nr_all_pages()
  mm/mm_init.c: remove meaningless calculation of zone->managed_pages in
    free_area_init_core()
  mm/mm_init.c: remove unneeded calc_memmap_size()
  mm/mm_init.c: remove arch_reserved_kernel_pages()
  mm: move array mem_section init code out of memory_present()
  mm/init: remove the unnecessary special treatment for memory-less node

 arch/powerpc/include/asm/mmu.h |   4 -
 arch/powerpc/kernel/fadump.c   |   5 --
 include/linux/mm.h             |   4 -
 mm/mm_init.c                   | 143 ++++++++-------------------------
 mm/sparse.c                    |  26 +++---
 5 files changed, 45 insertions(+), 137 deletions(-)

Comments

Baoquan He March 25, 2024, 3:08 p.m. UTC | #1
On 03/25/24 at 11:04pm, Baoquan He wrote:

Sorry for the noise, I did misoperation on my local git commits,
please ignore this series.

> These mostly are for mm init when going through code flow.
> 
> Baoquan He (7):
>   mm/mm_init.c: remove the useless dma_reserve
>   mm/mm_init.c: add new function calc_nr_all_pages()
>   mm/mm_init.c: remove meaningless calculation of zone->managed_pages in
>     free_area_init_core()
>   mm/mm_init.c: remove unneeded calc_memmap_size()
>   mm/mm_init.c: remove arch_reserved_kernel_pages()
>   mm: move array mem_section init code out of memory_present()
>   mm/init: remove the unnecessary special treatment for memory-less node
> 
>  arch/powerpc/include/asm/mmu.h |   4 -
>  arch/powerpc/kernel/fadump.c   |   5 --
>  include/linux/mm.h             |   4 -
>  mm/mm_init.c                   | 143 ++++++++-------------------------
>  mm/sparse.c                    |  26 +++---
>  5 files changed, 45 insertions(+), 137 deletions(-)
> 
> -- 
> 2.41.0
>