commit | 6474353a5e3d0b2cf610153cea0c61f576a36d0a | [log] [tgz] |
---|---|---|
author | Christian Brauner <[email protected]> | Wed Sep 25 11:05:16 2024 +0200 |
committer | Christian Brauner <[email protected]> | Tue Oct 22 11:16:56 2024 +0200 |
tree | 1395d4b47fa1aaf0b08141610ec97a7c2c3f0d57 | |
parent | 05fba0a11557dfdc1b6895f4a3fb59165669e643 [diff] |
epoll: annotate racy check Epoll relies on a racy fastpath check during __fput() in eventpoll_release() to avoid the hit of pointlessly acquiring a semaphore. Annotate that race by using WRITE_ONCE() and READ_ONCE(). Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/20240925-fungieren-anbauen-79b334b00542@brauner Reviewed-by: Jan Kara <[email protected]> Reported-by: [email protected] Signed-off-by: Christian Brauner <[email protected]>