diff options
author | Rik van Riel <[email protected]> | 2013-10-07 11:29:32 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-10-09 14:48:08 +0200 |
commit | ca28aa53dd95868c9e38917b9881c09dacfacf1a (patch) | |
tree | 82d068c0c711dcba8a66d3760d6679586ae07638 /net/lapb/lapb_iface.c | |
parent | 887c290e82e8950d854730c084904c115fc367ac (diff) |
sched/numa: Fix task or group comparison
This patch separately considers task and group affinities when
searching for swap candidates during NUMA placement. If tasks
are part of the same group, or no group at all, the task weights
are considered.
Some hysteresis is added to prevent tasks within one group from
getting bounced between NUMA nodes due to tiny differences.
If tasks are part of different groups, the code compares group
weights, in order to favor grouping task groups together.
The patch also changes the group weight multiplier to be the
same as the task weight multiplier, since the two are no longer
added up like before.
Signed-off-by: Rik van Riel <[email protected]>
Signed-off-by: Mel Gorman <[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