mm/slab: remove CONFIG_SLAB code from slab common code
authorVlastimil Babka <vbabka@suse.cz>
Mon, 2 Oct 2023 15:43:38 +0000 (17:43 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Tue, 5 Dec 2023 10:17:58 +0000 (11:17 +0100)
commita9e0b9f27266d46ed6e73aac8d0844602cd0cb93
treeecd7e3c61d51bd8646829e7028dc01bbb7f9bfc5
parent70da1d01edf6da3fde1df98b2125a77083a0fb82
mm/slab: remove CONFIG_SLAB code from slab common code

In slab_common.c and slab.h headers, we can now remove all code behind
CONFIG_SLAB and CONFIG_DEBUG_SLAB ifdefs, and remove all CONFIG_SLUB
ifdefs.

Reviewed-by: Kees Cook <keescook@chromium.org>
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>
include/linux/slab.h
mm/slab.h
mm/slab_common.c