From: Christian Brauner Date: Fri, 10 Jan 2025 10:59:08 +0000 (+0100) Subject: Merge patch series "poll_wait: add mb() to fix theoretical race between waitqueue_act... X-Git-Tag: v6.13-rc7~23^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67cd2e23c0f353803f182ae790a7d5074d4c1a4d;p=thirdparty%2Flinux.git Merge patch series "poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()" Oleg Nesterov 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 --- 67cd2e23c0f353803f182ae790a7d5074d4c1a4d