• Andrew Morton's avatar
    [PATCH] Don't let processes be scheduled on CPU-less nodes (2/3) · 848da4be
    Andrew Morton authored
    From: Matthew Dobson <colpatch@us.ibm.com>
    
    This patch defines a topology macro for ppc64, nr_cpus_node(node) which
    returns the number of CPUs on 'node'.  This patch also adds code to compute
    and store these values in an array for quick lookup.
    
    Test compiled and booted by Andrew Theurer (habanero@us.ibm.com) on both
    x440 and ppc64.
    848da4be
numa.c 6.81 KB