Re: [PATCH 05/10] doc: Add slab internal kernel-doc

Harry Yoo
2025-06-09T02:37:39Z

On Fri, Jun 06, 2025 at 11:22:07PM +0100, Matthew Wilcox (Oracle) wrote:
> We don't have much real internal documentation to extract yet, but
> let's make sure that what we do have is available.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> ---

Acked-by: Harry Yoo <harry.yoo@oracle.com>

Yeah, we don't have much internal documentation... except some comments.

Or probably we can turn the top comment in mm/slub.c into DOC: and
expose it to the documentation?

--
Cheers,
Harry / Hyeonggon

> Documentation/mm/slab.rst | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/mm/slab.rst b/Documentation/mm/slab.rst
> index 87d5a5bb172f..2bcc58ada302 100644
> --- a/Documentation/mm/slab.rst
> +++ b/Documentation/mm/slab.rst
> @@ -3,3 +3,10 @@
> ===============
> Slab Allocation
> ===============
> +
> +Functions and structures
> +========================
> +
> +.. kernel-doc:: mm/slab.h
> +.. kernel-doc:: mm/slub.c
> + :internal:
> --
> 2.47.2
>
>