• Peter Zijlstra's avatar
    mm: numa: Add fault driven placement and migration · cbee9f88
    Peter Zijlstra authored
    NOTE: This patch is based on "sched, numa, mm: Add fault driven
    	placement and migration policy" but as it throws away all the policy
    	to just leave a basic foundation I had to drop the signed-offs-by.
    
    This patch creates a bare-bones method for setting PTEs pte_numa in the
    context of the scheduler that when faulted later will be faulted onto the
    node the CPU is running on.  In itself this does nothing useful but any
    placement policy will fundamentally depend on receiving hints on placement
    from fault context and doing something intelligent about it.
    Signed-off-by: default avatarMel Gorman <mgorman@suse.de>
    Acked-by: default avatarRik van Riel <riel@redhat.com>
    cbee9f88
memory.c 113 KB