• Andrew Morton's avatar
    [PATCH] in-kernel topology API · a1c9db9f
    Andrew Morton authored
    From Matthew Dobson <colpatch@us.ibm.com>
    
    "This patch adds a 'simple' in-kernel topology API.  This API allows
     for three primary topology elements: CPUs, memory blocks, and nodes.
     The API allows for the discovery of which CPUs/Memory Blocks reside on
     which nodes, and vice versa.  Also implemented is a macro to get a
     bitmask of CPUs on a particular node.  This API is platform neutral."
    
    We need this API for per-node-kswapd - without it there is no means by
    which each kswapd can be bound to its node's CPUs.  And we rather need
    per-node-kswapd...
    
    The patch also uses the new API to bind each kswapd instance to its
    node's CPUs
    a1c9db9f
vmscan.c 22.2 KB