[PATCH v2 0/3] memmap_init_zone improvements
From: Pavel Tatashin
Date: Thu Jul 26 2018 - 15:35:46 EST
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(-)
--
2.18.0