mm/slab: move the rest of slub_def.h to mm/slab.h
authorVlastimil Babka <vbabka@suse.cz>
Tue, 3 Oct 2023 07:59:48 +0000 (09:59 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 6 Dec 2023 10:57:21 +0000 (11:57 +0100)
commit19975f83412fbb9b1458f3dfbf16ca043a57788a
tree5b3a19dca7077e2e06926a20c588802695b64a7d
parent7ef08ae8277c66657127844179912214c67fb4bc
mm/slab: move the rest of slub_def.h to mm/slab.h

mm/slab.h is the only place to include include/linux/slub_def.h which
has allowed switching between SLAB and SLUB. Now we can simply move the
contents over and remove slub_def.h.

Use this opportunity to fix up some whitespace (alignment) issues.

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/slub_def.h [deleted file]
mm/slab.h