Re: [PATCH] ksm: update comments and docs to reference folio->mapping

From: xu.xin16

Date: Wed Aug 05 2026 - 09:45:44 EST


> The KSM code already stores and checks the stable node key via
> folio->mapping, but the comment in ksm_get_folio() and the reverse
> mapping documentation in ksm.rst still refer to page->mapping.
>
> This is a pure wording update to match the folio-based implementation.
> No functional change is intended.
>
> Signed-off-by: Hongfu Li <lihongfu@xxxxxxxxxx>
> ---
> Documentation/mm/ksm.rst | 4 ++--
> Documentation/translations/zh_CN/mm/ksm.rst | 4 ++--
> mm/ksm.c | 7 +++----
> 3 files changed, 7 insertions(+), 8 deletions(-)

Reviewed-by: Xu Xin <xu.xin16@xxxxxxxxxx>