aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm-ccn.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-02-24 10:50:39 +0000
committerIngo Molnar <[email protected]>2021-03-06 11:40:20 +0000
commitc20cf065d4a619d394d23290093b1002e27dff86 (patch)
treecc4c2ba214410f9ffd0b31d54023ad10f3f0ff0c /drivers/perf/arm-ccn.c
parentsched: Fix migration_cpu_stop() requeueing (diff)
downloadkernel-c20cf065d4a619d394d23290093b1002e27dff86.tar.gz
kernel-c20cf065d4a619d394d23290093b1002e27dff86.zip
sched: Simplify migration_cpu_stop()
When affine_move_task() issues a migration_cpu_stop(), the purpose of that function is to complete that @pending, not any random other p->migration_pending that might have gotten installed since. This realization much simplifies migration_cpu_stop() and allows further necessary steps to fix all this as it provides the guarantee that @pending's stopper will complete @pending (and not some random other @pending). 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 'drivers/perf/arm-ccn.c')
0 files changed, 0 insertions, 0 deletions