• David Rientjes's avatar
    [PATCH] x86-64: fixed size remaining fake nodes · 382591d5
    David Rientjes authored
    Extends the numa=fake x86_64 command-line option to split the remaining system
    memory into nodes of fixed size.  Any leftover memory is allocated to a final
    node unless the command-line ends with a comma.
    
    For example:
      numa=fake=2*512,*128	gives two 512M nodes and the remaining system
    			memory is split into nodes of 128M each.
    
    This is beneficial for systems where the exact size of RAM is unknown or not
    necessarily relevant, but the size of the remaining nodes to be allocated is
    known based on their capacity for resource management.
    
    Cc: Andi Kleen <ak@suse.de>
    Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    Cc: Paul Jackson <pj@sgi.com>
    Cc: Christoph Lameter <clameter@engr.sgi.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    382591d5
numa.c 16.3 KB