diff options
author | Mika Penttilä <mika.penttila@gmail.com> | 2021-07-22 09:39:46 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-08-04 15:16:43 +0200 |
commit | 1c6829cfd3d5124b125e6df41158665aea413b35 (patch) | |
tree | a02c66b96b40ac9ae4b203ad2553933780abed33 /tools/perf/scripts/python/libxed.py | |
parent | 031e3bd8986fffe31e1ddbf5264cccfe30c9abd7 (diff) |
sched/numa: Fix is_core_idle()
Use the loop variable instead of the function argument to test the
other SMT siblings for idle.
Fixes: ff7db0bf24db ("sched/numa: Prefer using an idle CPU as a migration target instead of comparing tasks")
Signed-off-by: Mika Penttilä <mika.penttila@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Link: https://lkml.kernel.org/r/20210722063946.28951-1-mika.penttila@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions