diff options
author | Christian Brauner <brauner@kernel.org> | 2025-01-10 11:59:08 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-01-10 11:59:45 +0100 |
commit | 67cd2e23c0f353803f182ae790a7d5074d4c1a4d (patch) | |
tree | 21b4329a819a52e988be56b5faefd9a78255f896 /tools/iio/iio_event_monitor.c | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) | |
parent | f005bf18a57aadf3af1e85a0f0151cb3688ee606 (diff) |
Merge patch series "poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()"
Oleg Nesterov <oleg@redhat.com> says:
The waitqueue_active() helper can only be used if both waker and waiter
have memory barriers that pair with each other. But __pollwait() is
broken in this respect. Fix it.
* patches from https://lore.kernel.org/r/20250107162649.GA18886@redhat.com:
poll: kill poll_does_not_wait()
sock_poll_wait: kill the no longer necessary barrier after poll_wait()
io_uring_poll: kill the no longer necessary barrier after poll_wait()
poll_wait: kill the obsolete wait_address check
poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()
Link: https://lore.kernel.org/r/20250107162649.GA18886@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/iio/iio_event_monitor.c')
0 files changed, 0 insertions, 0 deletions