mm/slab: consolidate includes in the internal mm/slab.h
authorVlastimil Babka <vbabka@suse.cz>
Tue, 3 Oct 2023 09:15:54 +0000 (11:15 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 6 Dec 2023 10:57:21 +0000 (11:57 +0100)
commit89c2d061bfa7fe2b5bcb1393a7a79bb5db8d4140
treefda3de82f1e499c138810a67a1037f425eac60b0
parent19975f83412fbb9b1458f3dfbf16ca043a57788a
mm/slab: consolidate includes in the internal mm/slab.h

The #include's are scattered at several places of the file, but it does
not seem this is needed to prevent any include loops (anymore?) so
consolidate them at the top. Also move the misplaced kmem_cache_init()
declaration away from the top.

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/slab.h