aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kernel/vtime.c
diff options
context:
space:
mode:
authorHao Jia <[email protected]>2022-12-16 14:24:06 +0800
committerPeter Zijlstra <[email protected]>2022-12-27 12:52:17 +0100
commit8589018acc65e5ddfd111f0a7ee85f9afde3a830 (patch)
tree051b7dc295f0544f1997b774e268e30a0d388a10 /arch/s390/kernel/vtime.c
parentfeaed76376fd612b9450ad1251aec20a63ccfe92 (diff)
sched/core: Adjusting the order of scanning CPU
When select_idle_capacity() starts scanning for an idle CPU, it starts with target CPU that has already been checked in select_idle_sibling(). So we start checking from the next CPU and try the target CPU at the end. Similarly for task_numa_assign(), we have just checked numa_migrate_on of dst_cpu, so start from the next CPU. This also works for steal_cookie_task(), the first scan must fail and start directly from the next one. Signed-off-by: Hao Jia <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Vincent Guittot <[email protected]> Acked-by: Mel Gorman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/s390/kernel/vtime.c')
0 files changed, 0 insertions, 0 deletions