]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring_poll: kill the no longer necessary barrier after poll_wait()
authorOleg Nesterov <oleg@redhat.com>
Tue, 7 Jan 2025 16:27:30 +0000 (17:27 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 10 Jan 2025 10:58:59 +0000 (11:58 +0100)
commit4e15fa8305deecdf20233558ed9f7a8a62b708fd
treeca141fdf4f9f7340cb8d787354f4244ed629eada
parent10b02a2cfec2f106db4897ad87732db56d71e6fd
io_uring_poll: kill the no longer necessary barrier after poll_wait()

Now that poll_wait() provides a full barrier we can remove smp_rmb() from
io_uring_poll().

In fact I don't think smp_rmb() was correct, it can't serialize LOADs and
STOREs.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Link: https://lore.kernel.org/r/20250107162730.GA18940@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
io_uring/io_uring.c