Skip to content
Unverified Commit b2849867 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Christian Brauner
Browse files

sock_poll_wait: kill the no longer necessary barrier after poll_wait()



Now that poll_wait() provides a full barrier we can remove smp_mb() from
sock_poll_wait().

Also, the poll_does_not_wait() check before poll_wait() just adds the
unnecessary confusion, kill it. poll_wait() does the same "p && p->_qproc"
check.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Link: https://lore.kernel.org/r/20250107162736.GA18944@redhat.com


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 4e15fa83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment