From: Randy Dunlap <rdunlap@infradead.org>
To: Karl Mehltretter <kmehltretter@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>,
David Hildenbrand <david@kernel.org>
Cc: Xu Xin <xu.xin16@zte.com.cn>,
Chengming Zhou <chengming.zhou@linux.dev>,
linux-mm@kvack.org, Jonathan Corbet <corbet@lwn.net>,
linux-doc@vger.kernel.org, Shuah Khan <skhan@linuxfoundation.org>,
Qi Zheng <zhengqi.arch@bytedance.com>
Subject: Re: [PATCH] docs/mm: ksm: Use the renamed ksm structure names
Date: Sat, 5 Sep 2026 12:49:46 -0700 [thread overview]
Message-ID: <97f80aaf-fe16-4557-a4bc-7eddaf406ee5@infradead.org> (raw)
In-Reply-To: <20260905084034.39521-1-kmehltretter@gmail.com>
On 9/5/26 1:40 AM, Karl Mehltretter wrote:
> The Reference section of ksm.rst asks mm/ksm.c for mm_slot, stable_node
> and rmap_item. Commit 21fbd59136e0 ("ksm: add the ksm prefix to the
> names of the ksm private structures") renamed them to ksm_mm_slot,
> ksm_stable_node and ksm_rmap_item. Since then only ksm_scan is rendered
> and the three structures are missing from the generated documentation.
>
> Use the current names.
>
> Fixes: 21fbd59136e0 ("ksm: add the ksm prefix to the names of the ksm private structures")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> Documentation/mm/ksm.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/mm/ksm.rst b/Documentation/mm/ksm.rst
> index 2b4f72f1f953..5a80573162de 100644
> --- a/Documentation/mm/ksm.rst
> +++ b/Documentation/mm/ksm.rst
> @@ -78,7 +78,7 @@ The frequency of such scans is defined by
> Reference
> ---------
> .. kernel-doc:: mm/ksm.c
> - :functions: mm_slot ksm_scan stable_node rmap_item
> + :functions: ksm_mm_slot ksm_scan ksm_stable_node ksm_rmap_item
>
> --
> Izik Eidus,
eh?
--
~Randy
prev parent reply other threads:[~2026-09-05 19:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-05 8:40 [PATCH] docs/mm: ksm: Use the renamed ksm structure names Karl Mehltretter
2026-09-05 19:49 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97f80aaf-fe16-4557-a4bc-7eddaf406ee5@infradead.org \
--to=rdunlap@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=chengming.zhou@linux.dev \
--cc=corbet@lwn.net \
--cc=david@kernel.org \
--cc=kmehltretter@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=skhan@linuxfoundation.org \
--cc=xu.xin16@zte.com.cn \
--cc=zhengqi.arch@bytedance.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox