Re: [PATCH v4 01/15] docs/mm: add document for swap table
From: Chris Li
Date: Wed Sep 17 2025 - 13:12:59 EST
On Wed, Sep 17, 2025 at 9:14 AM SeongJae Park <sj@xxxxxxxxxx> wrote:
>
> On Wed, 17 Sep 2025 00:00:46 +0800 Kairui Song <ryncsn@xxxxxxxxx> wrote:
>
> > From: Chris Li <chrisl@xxxxxxxxxx>
> >
> > Swap table is the new swap cache.
>
> Thank you very much for doing this great work!
I only did the prototype. Kairui did the heavy lifting.
> > Signed-off-by: Chris Li <chrisl@xxxxxxxxxx>
> > Signed-off-by: Kairui Song <kasong@xxxxxxxxxxx>
> > ---
> > Documentation/mm/index.rst | 1 +
> > Documentation/mm/swap-table.rst | 72 +++++++++++++++++++++++++++++++++
> > MAINTAINERS | 1 +
> > 3 files changed, 74 insertions(+)
> > create mode 100644 Documentation/mm/swap-table.rst
> >
> > diff --git a/Documentation/mm/index.rst b/Documentation/mm/index.rst
> > index fb45acba16ac..828ad9b019b3 100644
> > --- a/Documentation/mm/index.rst
> > +++ b/Documentation/mm/index.rst
> > @@ -57,6 +57,7 @@ documentation, or deleted if it has served its purpose.
> > page_table_check
> > remap_file_pages
> > split_page_table_lock
> > + swap-table
> > transhuge
> > unevictable-lru
> > vmalloced-kernel-stacks
>
> The above diff is adding this great document on 'Unsorted Documentation'
> section. Could we add the document on the main section? I think swap.rst on
> the main section could be a good place, and wondering what others think.
That is a good idea. Will do together with another minor fix reported
by Barry. I will move it after "swap.rst".
Thanks for the suggestion.
Chris