summaryrefslogtreecommitdiffstats
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-02-24 11:21:35 +0100
committerIngo Molnar <mingo@kernel.org>2021-03-06 12:40:21 +0100
commit3f1bc119cd7fc987c8ed25ffb717f99403bb308c (patch)
tree8ee04aee094a12ea4ad9b83523cfb76f4dd0a2b3 /kernel/acct.c
parentsched: Collate affine_move_task() stoppers (diff)
downloadlinux-3f1bc119cd7fc987c8ed25ffb717f99403bb308c.tar.xz
linux-3f1bc119cd7fc987c8ed25ffb717f99403bb308c.zip
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: stable@kernel.org Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Valentin Schneider <valentin.schneider@arm.com> Link: https://lkml.kernel.org/r/20210224131355.569238629@infradead.org
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions