Commit 4e15fa8
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>1 parent 10b02a2 commit 4e15fa8
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2809 | 2809 | | |
2810 | 2810 | | |
2811 | 2811 | | |
2812 | | - | |
2813 | | - | |
2814 | 2812 | | |
2815 | | - | |
2816 | | - | |
| 2813 | + | |
| 2814 | + | |
2817 | 2815 | | |
2818 | | - | |
| 2816 | + | |
| 2817 | + | |
2819 | 2818 | | |
2820 | 2819 | | |
2821 | 2820 | | |
| |||
0 commit comments