All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] Mirrored memory support for boot time allocations
@ 2015-02-06 21:54 Tony Luck
  2015-01-30 22:30 ` [RFC 1/3] mm/memblock: Add extra "flag" to memblock to allow selection of memory based on attribute Tony Luck
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Tony Luck @ 2015-02-06 21:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm

Platforms that support a mix of mirrored and regular memory are coming.

We'd like to use the mirrored memory for kernel code, data and dynamically
allocated data because our machine check recovery code cannot fix problems
there.  This series modifies the memblock allocator to comprehend mirrored
memory and use it for all boot time allocations.  Later I'll dig into page_alloc.c
to put the leftover mirrored memory into a zone to be used for kernel allocation
by slab/slob/slub and others.

You'll see why this is just RFC when you get to part 3.

Tony Luck (3):
  mm/memblock: Add extra "flag" to memblock to allow selection of memory
    based on attribute
  mm/memblock: Allocate boot time data structures from mirrored memory
  x86, mirror: x86 enabling - find mirrored memory ranges and tell
    memblock

 arch/s390/kernel/crash_dump.c |   4 +-
 arch/sparc/mm/init_64.c       |   4 +-
 arch/x86/kernel/check.c       |   2 +-
 arch/x86/kernel/e820.c        |   2 +-
 arch/x86/mm/init_32.c         |   2 +-
 arch/x86/mm/memtest.c         |   2 +-
 include/linux/memblock.h      |  43 ++++++++++------
 mm/cma.c                      |   4 +-
 mm/memblock.c                 | 113 ++++++++++++++++++++++++++++++++----------
 mm/nobootmem.c                |  12 ++++-
 10 files changed, 135 insertions(+), 53 deletions(-)

-- 
2.1.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-05-18 17:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 21:54 [RFC 0/3] Mirrored memory support for boot time allocations Tony Luck
2015-01-30 22:30 ` [RFC 1/3] mm/memblock: Add extra "flag" to memblock to allow selection of memory based on attribute Tony Luck
2015-02-03 22:38 ` [RFC 2/3] mm/memblock: Allocate boot time data structures from mirrored memory Tony Luck
2015-02-03 22:40 ` [RFC 3/3] x86, mirror: x86 enabling - find mirrored memory ranges and tell memblock Tony Luck
2015-05-18  8:09   ` Xishi Qiu
2015-05-18 17:36     ` Luck, Tony
2015-05-18 17:36       ` Luck, Tony
2015-02-06 22:28 ` [RFC 0/3] Mirrored memory support for boot time allocations Tony Luck
2015-02-06 22:28   ` Tony Luck
2015-05-18  7:58 ` Xishi Qiu
2015-05-18  8:23   ` Xishi Qiu
2015-05-18  8:23     ` Xishi Qiu
2015-05-18 17:42   ` Luck, Tony
2015-05-18 17:42     ` Luck, Tony

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.