diff options
author | Peter Zijlstra <[email protected]> | 2021-02-24 11:21:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-03-06 12:40:21 +0100 |
commit | 3f1bc119cd7fc987c8ed25ffb717f99403bb308c (patch) | |
tree | 8ee04aee094a12ea4ad9b83523cfb76f4dd0a2b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 58b1a45086b5f80f2b2842aa7ed0da51a64a302b (diff) |
sched: Optimize migration_cpu_stop()
When the purpose of migration_cpu_stop() is to migrate the task to
'any' valid CPU, don't migrate the task when it's already running on a
valid CPU.
Fixes: 6d337eab041d ("sched: Fix migrate_disable() vs set_cpus_allowed_ptr()")
Cc: [email protected]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions