diff options
author | Mel Gorman <mgorman@techsingularity.net> | 2022-05-20 12:35:17 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-06-13 10:29:59 +0200 |
commit | 13ede33150877d44756171e33570076882b17b0b (patch) | |
tree | c1ed544c0396affd5bb7a68be5e6e5cd01e34993 /kernel/sched/pelt.c | |
parent | sched/numa: Initialise numa_migrate_retry (diff) | |
download | linux-13ede33150877d44756171e33570076882b17b0b.tar.xz linux-13ede33150877d44756171e33570076882b17b0b.zip |
sched/numa: Do not swap tasks between nodes when spare capacity is available
If a destination node has spare capacity but there is an imbalance then
two tasks are selected for swapping. If the tasks have no numa group
or are within the same NUMA group, it's simply shuffling tasks around
without having any impact on the compute imbalance. Instead, it's just
punishing one task to help another.
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20220520103519.1863-3-mgorman@techsingularity.net
Diffstat (limited to 'kernel/sched/pelt.c')
0 files changed, 0 insertions, 0 deletions