mbox series

[v2,0/3] memmap_init_zone improvements

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

Message

Pavel Tatashin July 26, 2018, 7:35 p.m. UTC
Changelog:

v1 - v2
	- Merged with linux-next
	- Removed inline from functions that have static variables.
	- Added a comment to defer_init() that it is called early in
	  boot and therefore no need to protect static.

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                 | 124 ++++++++++++++++----------------
 2 files changed, 62 insertions(+), 63 deletions(-)