Files
linux-stable-mirror/include/linux
Kent Overstreet ee526b88ca closures: Fix race in closure_sync()
As pointed out by Linus, closure_sync() was racy; we could skip blocking
immediately after a get() and a put(), but then that would skip any
barrier corresponding to the other thread's put() barrier.

To fix this, always do the full __closure_sync() sequence whenever any
get() has happened and the closure might have been used by other
threads.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-30 21:48:22 -04:00
..
2023-09-11 15:24:16 -07:00
2023-09-19 16:41:26 -07:00
2023-10-30 21:48:22 -04:00
2023-09-11 23:59:47 -04:00
2023-09-01 00:29:34 +02:00
2023-09-13 10:48:48 +02:00
2023-10-16 12:44:06 -04:00
2023-10-16 12:44:06 -04:00
2023-09-29 17:20:46 -07:00
2023-10-06 11:01:23 +02:00
2023-10-06 11:01:23 +02:00
2023-09-02 15:17:33 -07:00
2023-09-21 19:22:10 +02:00