Sergey Senozhatsky
1b1a4e4d67
zram: read slot block idx under slot lock
...
Read slot's block id under slot-lock. We release the slot-lock for bdev
read so, technically, slot still can get freed in the meantime, but at
least we will read bdev block (page) that holds previous know slot data,
not from slot->handle bdev block, which can be anything at that point.
Link: https://lkml.kernel.org/r/20251122074029.3948921-7-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Minchan Kim <minchan@google.com>
Cc: Richard Chang <richardycc@google.com>
Cc: Yuwen Chen <ywen.chen@foxmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-11-24 15:08:53 -08:00
..
2025-10-14 08:56:31 -06:00
2025-11-16 17:28:29 -08:00
2025-10-22 08:04:15 +02:00
2025-10-13 09:12:36 +02:00
2025-11-16 17:28:28 -08:00
2025-10-20 13:54:15 +02:00
2025-11-24 15:08:53 -08:00
2025-10-31 12:42:47 -04:00
2025-10-04 16:26:32 -07:00
2025-10-04 16:26:32 -07:00
2025-11-16 17:28:13 -08:00
2025-10-07 09:28:37 -07:00
2025-10-07 08:40:15 -07:00
2025-10-22 08:03:52 +02:00
2025-10-15 08:21:16 -05:00
2025-11-06 15:44:18 -08:00
2025-10-23 12:53:23 +08:00
2025-10-14 14:48:14 -07:00
2025-11-16 17:28:10 -08:00
2025-10-15 10:39:54 -04:00
2025-09-26 15:10:59 -07:00
2025-10-06 10:37:06 -07:00
2025-10-24 16:56:37 +01:00
2025-10-28 18:54:48 -07:00
2025-10-13 17:14:47 +02:00
2025-10-25 08:29:56 +09:00
2025-11-16 17:28:25 -08:00
2025-09-22 10:33:10 -03:00
2025-11-06 18:19:44 +01:00
2025-11-24 15:08:49 -08:00
2025-10-18 08:18:18 -10:00
2025-10-01 00:00:45 +00:00
2025-10-19 18:56:14 -07:00
2025-10-04 16:26:32 -07:00
2025-11-03 18:04:15 +01:00
2025-09-29 00:17:22 +02:00
2025-09-23 14:15:25 +02:00
2025-11-02 06:46:01 -05:00
2025-10-08 09:44:38 -07:00
2025-11-16 17:28:18 -08:00
2025-10-07 10:23:22 +02:00
2025-10-31 17:39:14 -07:00
2025-09-16 16:49:28 +01:00
2025-10-08 11:44:21 -07:00
2025-10-03 18:48:02 -07:00
2025-10-24 11:16:26 +02:00
2025-10-02 18:18:33 -07:00
2025-10-03 10:38:23 -05:00
2025-10-26 10:33:46 -07:00
2025-10-13 13:18:03 +02:00
2025-10-22 08:04:43 +02:00
2025-10-04 15:50:37 -07:00
2025-11-06 07:31:34 -08:00
2025-09-22 09:35:21 -04:00
2025-10-06 11:17:18 -07:00
2025-10-22 19:46:25 -07:00
2025-10-22 08:02:38 +02:00
2025-10-24 07:44:09 -05:00
2025-11-24 15:08:47 -08:00
2025-10-07 08:59:25 -07:00
2025-10-06 10:34:22 -07:00
2025-10-06 10:41:03 -07:00
2025-11-05 11:08:10 -08:00
2025-10-01 17:32:51 -07:00
2025-10-01 13:02:59 -07:00
2025-10-31 16:27:40 -07:00
2025-10-01 11:34:12 -07:00
2025-09-15 16:20:29 +02:00
2025-10-30 11:30:23 +00:00
2025-10-04 15:45:17 -07:00
2025-10-01 17:32:51 -07:00
2025-09-20 21:29:48 -05:00
2025-11-08 20:56:12 +01:00
2025-11-16 17:28:25 -08:00
2025-10-21 21:09:36 -04:00
2025-11-04 19:15:36 -08:00
2025-10-06 10:32:22 -07:00
2025-10-29 12:53:45 +00:00
2025-10-13 10:55:03 +02:00
2025-10-11 11:49:00 -07:00
2025-10-17 15:26:52 +02:00
2025-10-02 10:41:58 +02:00
2025-09-23 17:16:38 +02:00
2025-10-22 12:13:54 +02:00
2025-10-29 23:20:19 -04:00
2025-10-07 08:40:15 -07:00
2025-10-24 13:52:58 +02:00
2025-11-16 17:28:26 -08:00
2025-11-16 17:28:30 -08:00
2025-10-01 07:24:43 -04:00
2025-10-28 22:59:19 +01:00
2025-09-29 18:48:39 -07:00
2025-10-04 08:48:16 -07:00
2025-10-06 11:00:30 -07:00
2025-10-03 17:41:12 -07:00
2025-09-15 14:30:17 +02:00
2025-10-07 08:40:15 -07:00