aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm-ccn.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <[email protected]>2021-02-17 16:56:51 +0000
committerIngo Molnar <[email protected]>2021-03-06 11:40:21 +0000
commitce29ddc47b91f97e7f69a0fb7cbb5845f52a9825 (patch)
treec78f7da880f9002fe60aa2de83f73976757acd66 /drivers/perf/arm-ccn.c
parentsched: Simplify set_affinity_pending refcounts (diff)
downloadkernel-ce29ddc47b91f97e7f69a0fb7cbb5845f52a9825.tar.gz
kernel-ce29ddc47b91f97e7f69a0fb7cbb5845f52a9825.zip
sched/membarrier: fix missing local execution of ipi_sync_rq_state()
The function sync_runqueues_membarrier_state() should copy the membarrier state from the @mm received as parameter to each runqueue currently running tasks using that mm. However, the use of smp_call_function_many() skips the current runqueue, which is unintended. Replace by a call to on_each_cpu_mask(). Fixes: 227a4aadc75b ("sched/membarrier: Fix p->mm->membarrier_state racy load") Reported-by: Nadav Amit <[email protected]> Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: [email protected] # 5.4.x+ Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/perf/arm-ccn.c')
0 files changed, 0 insertions, 0 deletions