Matthew Wilcox (Oracle)
6e48a966df
mm/kasan: Convert to struct folio and struct slab
...
KASAN accesses some slab related struct page fields so we need to
convert it to struct slab. Some places are a bit simplified thanks to
kasan_addr_to_slab() encapsulating the PageSlab flag check through
virt_to_slab(). When resolving object address to either a real slab or
a large kmalloc, use struct folio as the intermediate type for testing
the slab flag to avoid unnecessary implicit compound_head().
[ vbabka@suse.cz: use struct folio, adjust to differences in previous
patches ]
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Reviewed-by: Roman Gushchin <guro@fb.com>
Tested-by: Hyeongogn Yoo <42.hyeyoo@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: <kasan-dev@googlegroups.com>
2022-01-06 12:26:14 +01:00
..
2021-11-08 03:29:52 +01:00
2021-12-03 10:58:13 -08:00
2021-11-03 14:22:00 +00:00
2021-11-08 11:55:21 -08:00
2021-11-02 16:36:28 -07:00
2021-11-08 12:07:52 -08:00
2021-11-30 22:35:06 -08:00
2021-11-10 11:36:43 -08:00
2021-11-18 13:57:09 +00:00
2021-12-02 15:08:22 +01:00
2021-11-03 21:18:44 -07:00
2021-11-12 11:53:16 -08:00
2021-11-10 16:45:54 -08:00
2021-11-05 08:41:02 +01:00
2021-11-23 19:13:00 +01:00
2021-11-06 13:30:34 -07:00
2021-11-06 14:08:17 -07:00
2021-11-09 11:20:07 -08:00
2021-11-09 10:02:49 -08:00
2021-11-02 15:37:27 -07:00
2021-11-30 15:40:49 +01:00
2021-12-02 13:39:46 -08:00
2021-11-17 10:36:15 -05:00
2021-12-03 10:58:13 -08:00
2021-11-06 13:30:39 -07:00
2021-11-07 10:38:17 -08:00
2021-11-07 10:38:17 -08:00
2021-11-06 14:08:17 -07:00
2021-11-09 10:02:49 -08:00
2021-11-06 13:30:38 -07:00
2021-11-09 10:02:52 -08:00
2021-11-06 13:30:46 -07:00
2021-12-10 17:10:55 -08:00
2021-11-03 08:05:59 -07:00
2021-11-05 13:50:15 +10:00
2021-11-11 07:37:31 -05:00
2021-11-03 11:20:45 +00:00
2021-12-03 10:58:13 -08:00
2021-11-17 10:36:35 -05:00
2021-11-03 17:44:29 +09:00
2021-11-09 10:02:49 -08:00
2021-11-09 10:02:49 -08:00
2021-11-09 19:19:34 -07:00
2021-11-06 14:08:17 -07:00
2021-12-02 15:35:57 +01:00
2021-11-18 15:05:56 -05:00
2021-11-20 10:35:54 -08:00
2021-11-09 10:02:48 -08:00
2021-11-03 19:03:55 +01:00
2021-11-09 10:02:49 -08:00
2021-11-11 22:45:40 +01:00
2021-11-06 13:30:36 -07:00
2021-11-02 12:25:03 -07:00
2021-11-20 10:35:54 -08:00
2021-11-06 14:36:12 -07:00
2021-11-09 10:02:51 -08:00
2022-01-06 12:26:14 +01:00
2021-11-11 13:09:33 +01:00
2021-11-06 13:30:43 -07:00
2021-12-01 21:04:34 -05:00
2021-11-18 02:11:57 -05:00
2021-11-18 02:03:45 -05:00
2021-11-12 08:05:17 +09:00
2021-11-09 10:02:49 -08:00
2021-11-09 10:02:49 -08:00
2021-11-14 12:21:53 +00:00
2021-11-14 12:21:53 +00:00
2021-11-10 11:29:30 -08:00
2022-01-06 12:26:14 +01:00
2021-11-06 13:30:42 -07:00
2021-11-06 13:30:42 -07:00
2021-11-06 13:30:41 -07:00
2021-12-09 18:47:05 +01:00
2021-11-06 13:30:41 -07:00
2021-11-11 09:34:35 -08:00
2022-01-06 12:25:40 +01:00
2021-12-20 01:02:27 +01:00
2021-11-06 13:30:40 -07:00
2021-11-11 22:45:40 +01:00
2021-11-11 09:50:30 +01:00
2021-12-01 19:14:26 -08:00
2021-11-10 21:16:56 +00:00
2021-11-05 14:54:40 -04:00
2021-11-05 14:54:39 -04:00
2021-11-06 13:30:42 -07:00
2021-11-11 09:34:35 -08:00
2021-11-17 10:36:35 -05:00
2021-11-17 10:36:35 -05:00
2021-11-14 10:38:27 -08:00
2021-12-09 15:41:09 -05:00
2021-11-18 10:50:45 -08:00
2021-12-07 21:26:06 -08:00
2021-11-09 10:02:49 -08:00
2021-12-08 15:21:55 +01:00
2021-11-18 10:03:47 +01:00
2021-11-26 11:38:20 -08:00
2021-11-05 11:51:41 +01:00
2021-11-09 10:02:49 -08:00
2021-11-10 09:05:11 -08:00
2021-11-09 10:02:49 -08:00
2021-11-09 10:11:53 -08:00
2021-11-03 12:15:29 -07:00
2021-11-14 12:21:53 +00:00
2021-11-09 10:02:52 -08:00
2021-11-03 14:09:26 -05:00
2021-11-09 10:11:53 -08:00
2021-11-29 19:50:50 -08:00
2021-11-15 13:01:20 +00:00
2021-11-09 00:56:35 +01:00
2022-01-06 12:26:13 +01:00
2022-01-06 12:25:51 +01:00
2022-01-06 12:26:13 +01:00
2021-11-09 10:02:49 -08:00
2021-11-09 10:11:53 -08:00
2021-11-09 10:02:50 -08:00
2021-11-06 13:30:43 -07:00
2021-11-09 10:02:50 -08:00
2021-11-03 11:41:25 -07:00
2021-11-06 14:08:17 -07:00
2021-11-14 21:21:08 -05:00
2021-11-11 13:09:33 +01:00
2021-11-17 14:50:45 +00:00
2021-11-24 18:47:27 -05:00
2021-11-06 13:30:36 -07:00
2021-12-09 10:49:56 -08:00
2021-11-08 16:55:32 -08:00
2021-11-08 16:55:32 -08:00
2021-11-08 16:55:32 -08:00