mm/slab, docs: switch mm-api docs generation from slab.c to slub.c
authorVlastimil Babka <vbabka@suse.cz>
Mon, 20 Nov 2023 16:11:10 +0000 (17:11 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Tue, 5 Dec 2023 10:11:34 +0000 (11:11 +0100)
commit0445ee000498ec1a5b1ed31bf35816cbeaef5e1e
treef00ff4cc1323605d317fa5273937f1552df7511f
parentb85ea95d086471afb4ad062012a4d73cd328fa86
mm/slab, docs: switch mm-api docs generation from slab.c to slub.c

The SLAB implementation is going to be removed, and mm-api.rst currently
uses mm/slab.c to obtain kerneldocs for some API functions. Switch it to
mm/slub.c and move the relevant kerneldocs of exported functions from
one to the other. The rest of kerneldocs in slab.c is for static SLAB
implementation-specific functions that don't have counterparts in slub.c
and thus can be simply removed with the implementation.

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>
Documentation/core-api/mm-api.rst
mm/slab.c
mm/slub.c