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-10-09 18:14:15 +02:00
2023-09-18 12:04:50 +02:00
2023-10-23 19:41:27 +02:00
2023-09-01 09:53:54 -07:00
2023-10-16 12:44:04 -04:00
2023-09-04 13:47:59 -07:00
2023-10-16 10:47:22 +02:00
2023-10-04 14:12:01 +02:00
2023-09-01 08:09:48 -07:00
2023-09-07 16:07:35 -07:00
2023-09-06 22:53:55 +08:00
2023-10-30 13:12:15 -10:00
2023-08-30 19:53:39 -07:00
2023-09-03 10:20:57 -07:00
2023-10-16 12:44:09 -04:00
2023-09-01 09:23:34 -07:00
2023-10-04 16:31:27 +01:00
2023-09-11 15:24:16 -07:00
2023-09-12 13:07:37 +01:00
2023-08-31 01:29:28 +02:00
2023-08-30 17:35:54 +08:00
2023-08-30 17:35:54 +08:00
2023-10-28 13:29:16 +02:00
2023-09-19 16:41:26 -07:00
2023-09-15 12:08:27 -07:00
2023-09-02 11:10:50 -07:00
2023-09-17 10:33:53 -07:00
2023-10-12 07:22:56 -10:00
2023-09-13 14:59:54 +02:00
2023-10-30 21:48:22 -04:00
2023-10-23 11:32:25 +02:00
2023-08-29 20:51:40 +02:00
2023-09-11 08:39:04 -07:00
2023-09-11 23:59:47 -04:00
2023-10-28 13:29:18 +02:00
2023-09-01 09:43:18 -07:00
2023-10-05 11:05:58 +02:00
2023-08-30 13:34:34 -07:00
2023-09-12 17:42:00 +02:00
2023-10-30 11:09:38 -10:00
2023-09-01 00:29:34 +02:00
2023-10-19 11:02:48 +02:00
2023-10-12 18:53:36 +03:00
2023-10-18 14:08:29 +02:00
2023-10-30 10:23:42 -10:00
2023-10-08 20:44:26 -07:00
2023-10-19 11:03:15 +02:00
2023-10-19 14:47:33 -04:00
2023-08-31 10:38:03 +02:00
2023-10-18 12:12:41 -07:00
2023-09-04 11:26:29 -07:00
2023-09-13 10:48:48 +02:00
2023-10-23 13:25:30 +02:00
2023-09-19 16:28:37 +02:00
2023-09-12 17:50:53 +02:00
2023-09-27 16:54:03 +02:00
2023-08-29 20:21:42 -07:00
2023-09-01 16:54:25 -07:00
2023-09-25 14:30:28 +02:00
2023-09-01 08:11:51 +01:00
2023-10-16 12:44:14 -04:00
2023-10-18 12:12:41 -07:00
2023-08-31 13:48:50 -04:00
2023-09-28 21:23:03 +09:00
2023-09-22 09:38:42 +02:00
2023-10-16 12:44:06 -04:00
2023-08-30 09:07:09 -07:00
2023-10-16 12:44:06 -04:00
2023-09-29 17:20:46 -07:00
2023-10-05 09:50:14 +02:00
2023-09-19 13:21:34 -07:00
2023-09-06 20:49:04 -07:00
2023-08-30 13:45:05 -07:00
2023-10-10 23:42:15 +02:00
2023-10-10 11:10:00 +02:00
2023-09-11 15:05:50 +02:00
2023-10-19 11:02:49 +02:00
2023-10-16 12:44:26 -04:00
2023-09-13 11:51:11 -04:00
2023-09-13 11:51:11 -04:00
2023-09-15 13:48:09 +02:00
2023-09-05 05:34:14 -04:00
2023-10-30 13:20:02 -10:00
2023-09-05 13:02:13 -05:00
2023-09-09 08:18:16 -05:00
2023-08-29 14:25:26 -07:00
2023-09-27 09:53:23 +02:00
2023-08-30 20:23:07 -07:00
2023-10-19 10:09:42 +02:00
2023-09-29 17:20:46 -07:00
2023-09-06 07:46:49 +01:00
2023-10-19 11:02:47 +02:00
2023-10-28 13:29:17 +02:00
2023-09-21 09:40:30 +02:00
2023-10-10 13:49:21 +02:00
2023-10-06 11:01:23 +02:00
2023-10-06 11:01:23 +02:00
2023-10-11 19:43:43 +02:00
2023-09-19 13:21:34 -07:00
2023-09-02 15:17:33 -07:00
2023-10-30 13:12:15 -10:00
2023-08-30 09:07:09 -07:00
2023-10-17 13:28:12 +02:00
2023-10-30 09:24:21 -10:00
2023-08-28 12:55:04 -07:00
2023-09-11 23:59:47 -04:00
2023-10-28 13:29:19 +02:00
2023-09-27 11:19:15 +02:00
2023-09-21 19:22:10 +02:00
2023-09-11 17:16:40 +02:00
2023-09-15 13:48:10 +02:00
2023-09-11 18:22:00 -04:00
2023-10-09 09:35:14 +02:00
2023-09-03 18:10:22 -04:00
2023-10-15 19:59:15 +01:00
2023-09-04 13:44:11 -07:00
2023-10-19 11:02:48 +02:00
2023-09-05 19:01:38 -04:00