Re: [Duplicate Text] in mm/damon/ and Doc/admin-guide/mm/damon/
From: SJ Park
Date: Sat Oct 17 2026 - 12:30:31 EST
On Sat, 17 Oct 2026 17:32:47 +0200 Manuel Ebner <manuelebnerli@xxxxxxxxxxx> wrote:
> Hi SJ,
>
> there is a lot of duplicated text in these directories. Diff doesn't show
> any because in mm/damon/ the text is a multi-line comment.
>
> ~40 Lines in lru_sort.c and lru_sort.rst,
> ~50 Lines in reclaim.c and reclaim.rst and
> a few Lines in stat.c and stat.rst.
>
> I think it's important to decide on how to handle the duplication before
> patching.
>
> Delete one set, keep (and fix) both or add a reference in one place to
> the other? Could sphinx do the duplication?
Let's keep and fix both for now. We can consider deduplicating if it turns out
to be too much overhead. I don't feel so yet.
Thanks,
SJ
[...]