diff options
author | Arve Hjønnevåg <[email protected]> | 2023-06-02 21:23:46 +0000 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2023-06-16 17:08:01 +0200 |
commit | ef73d6a4ef0b35524125c3cfc6deafc26a0c966a (patch) | |
tree | c7c854cb2d8ed6157dc87733d955a36947e17fd8 /lib/mpi/mpi-sub-ui.c | |
parent | 0cce0fde499a92c726cd2e24f7763644f7c9f971 (diff) |
sched/wait: Fix a kthread_park race with wait_woken()
kthread_park and wait_woken have a similar race that
kthread_stop and wait_woken used to have before it was fixed in
commit cb6538e740d7 ("sched/wait: Fix a kthread race with
wait_woken()"). Extend that fix to also cover kthread_park.
[jstultz: Made changes suggested by Peter to optimize
memory loads]
Signed-off-by: Arve Hjønnevåg <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions