[v2 0/1] discard memblock data later
From: Pavel Tatashin
Date: Fri Aug 11 2017 - 17:06:17 EST
Changelog:
v1 - v2
- Removed debugging change to INIT_MEMBLOCK_REGIONS
This fixes a problem with use after free that can happen when there are
many physical regions and deferred pages are enabled.
Also, this fix is needed for my upcoming improvements to deferred pages:
"complete deferred page initialization", where we do not zero the backing
struct page memory.
Pavel Tatashin (1):
mm: discard memblock data later
include/linux/memblock.h | 6 ++++--
mm/memblock.c | 38 +++++++++++++++++---------------------
mm/nobootmem.c | 16 ----------------
mm/page_alloc.c | 4 ++++
4 files changed, 25 insertions(+), 39 deletions(-)
--
2.14.0