mbox series

[0/3] memmap_init_zone improvements

Message ID 20180724235520.10200-1-pasha.tatashin@oracle.com (mailing list archive)
Headers show
Series memmap_init_zone improvements | expand

Message

Pavel Tatashin July 24, 2018, 11:55 p.m. UTC
Three small patches that improve memmap_init_zone() and also fix a small
deferred pages bug.

The improvements include reducing number of ifdefs and making code more
modular.

The bug is the deferred_init_update() should be called after the mirrored
memory skipping is taken into account.

Pavel Tatashin (3):
  mm: make memmap_init a proper function
  mm: calculate deferred pages after skipping mirrored memory
  mm: move mirrored memory specific code outside of memmap_init_zone

 arch/ia64/include/asm/pgtable.h |   1 -
 mm/page_alloc.c                 | 115 +++++++++++++++-----------------
 2 files changed, 55 insertions(+), 61 deletions(-)