Skip to content

RFC Delay initializing of large sections of memory

Nathan Zimmer lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 63 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86_64, mm: Delay initializing large portion of memoryDocumentation/kernel-parameters.txt arch/x86/Kconfig arch/x86/include/asm/e820.h +1 more+196 -81 reply
2/2x86_64, mm: Reinsert the absent memoryarch/x86/kernel/e820.c drivers/base/memory.c include/linux/memory.h+217 -025 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] Delay initializing of large sections of memory

This rfc patch set delays initializing large sections of memory until we have started cpus. This has the effect of reducing startup times on large memory systems. On 16TB it can take over an hour to boot and most of that time is spent initializing memory.

We avoid that bottleneck by delaying initialization until after we have started multiple cpus and can initialize in a multithreaded manner. This allows us to actually reduce boot time rather then just moving around the point of initialization.

Mike and I have worked on this set for a while, with him doing the most of the heavy lifting, and are eager for some feedback.

Mike Travis (2):
x86_64, mm: Delay initializing large portion of memory x86_64, mm: Reinsert the absent memory

 Documentation/kernel-parameters.txt |  15 ++
 arch/x86/Kconfig                    |  10 ++
 arch/x86/include/asm/e820.h         |  16 +-
 arch/x86/kernel/e820.c              | 292 +++++++++++++++++++++++++++++++++++-
 drivers/base/memory.c               |  83 ++++++++++
 include/linux/memory.h              |   5 +
 6 files changed, 413 insertions(+), 8 deletions(-)
Signature · 1 line
1.8.2.1