diff options
author | Mel Gorman <[email protected]> | 2013-10-07 11:29:18 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-10-09 14:47:41 +0200 |
commit | 2c8a50aa873a7e1d6cc0913362051ff9912dc6ca (patch) | |
tree | ca32297c046a3789b44e1255b94ef8d0b760d1f9 /net/lapb/lapb_iface.c | |
parent | fb13c7ee0ed387bd6bec4b4024a4d49b1bd504f1 (diff) |
sched/numa: Favor placing a task on the preferred node
A tasks preferred node is selected based on the number of faults
recorded for a node but the actual task_numa_migate() conducts a global
search regardless of the preferred nid. This patch checks if the
preferred nid has capacity and if so, searches for a CPU within that
node. This avoids a global search when the preferred node is not
overloaded.
Signed-off-by: Mel Gorman <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions