mbox series

[v2,0/2] Address issues slowing memory init

Message ID 20180905211041.3286.19083.stgit@localhost.localdomain (mailing list archive)
Headers show
Series Address issues slowing memory init | expand

Message

Alexander Duyck Sept. 5, 2018, 9:13 p.m. UTC
This patch series is meant to address some issues I consider to be
low-hanging fruit in regards to memory initialization optimization.

With these two changes I am able to cut the hot-plug memory initialization
times in my environment in half.

v2: Added comments about why we are using __SetPageReserved
    Added new config and updated approach used for page init poisoning

---

Alexander Duyck (2):
      mm: Move page struct poisoning to CONFIG_DEBUG_VM_PAGE_INIT_POISON
      mm: Create non-atomic version of SetPageReserved for init use


 include/linux/page-flags.h |    9 +++++++++
 lib/Kconfig.debug          |   14 ++++++++++++++
 mm/memblock.c              |    5 ++---
 mm/page_alloc.c            |   13 +++++++++++--
 mm/sparse.c                |    4 +---
 5 files changed, 37 insertions(+), 8 deletions(-)

--