diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2019-11-06 22:55:42 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-30 13:32:12 +0100 |
| commit | b45696340f5321cd7bd4f4865bae86c229d2bcc1 (patch) | |
| tree | e348008896a42dfee465b49564e49766d316ff4e /include/linux/futex.h | |
| parent | 226eed1ef71dbc0e505e15954c41a97275b87058 (diff) | |
futex: Sanitize exit state handling
commit 4a8e991b91aca9e20705d434677ac013974e0e30 upstream
Instead of having a smp_mb() and an empty lock/unlock of task::pi_lock move
the state setting into to the lock section.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20191106224556.645603214@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/futex.h')
0 files changed, 0 insertions, 0 deletions
