• Tony Luck's avatar
    mm/memblock: add extra "flags" to memblock to allow selection of memory based on attribute · fc6daaf9
    Tony Luck authored
    Some high end Intel Xeon systems report uncorrectable memory errors as a
    recoverable machine check.  Linux has included code for some time to
    process these and just signal the affected processes (or even recover
    completely if the error was in a read only page that can be replaced by
    reading from disk).
    
    But we have no recovery path for errors encountered during kernel code
    execution.  Except for some very specific cases were are unlikely to ever
    be able to recover.
    
    Enter memory mirroring. Actually 3rd generation of memory mirroing.
    
    Gen1: All memory is mirrored
    	Pro: No s/w enabling - h/w just gets good data from other side of the
    	     mirror
    	Con: Halves effective memory capacity available to OS/applications
    
    Gen2: Partial memory mirror - just mirror memory begind some memory controllers
    	Pro: Keep more of the capacity
    	Con: Nightmare to enable. Have to choose between allocating from
    	     mirrored memory for saf...
    fc6daaf9
cma.c 12.1 KB