KASAN: remove code paths guarded by CONFIG_SLAB
authorVlastimil Babka <vbabka@suse.cz>
Mon, 2 Oct 2023 14:17:16 +0000 (16:17 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Tue, 5 Dec 2023 10:17:51 +0000 (11:17 +0100)
commit72786c0a3dc5d4151469f512909049a0b17ada3d
tree7e35cc7da63b0ca253f55ce092be12d24fd8d0df
parent2a19be61a65157b9c6c25e831392cdefbd0a8940
KASAN: remove code paths guarded by CONFIG_SLAB

With SLAB removed and SLUB the only remaining allocator, we can clean up
some code that was depending on the choice.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Marco Elver <elver@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Tested-by: David Rientjes <rientjes@google.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Tested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/kasan/common.c
mm/kasan/kasan.h
mm/kasan/quarantine.c