[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACePvbXjaUyzB_9RSSSgR6BNvz+L9anvn0vcNf_J0jD7-4Yy6Q@mail.gmail.com>
Date: Sat, 20 Sep 2025 17:11:03 -0700
From: Chris Li <chrisl@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Kairui Song <ryncsn@...il.com>, linux-mm@...ck.org,
Matthew Wilcox <willy@...radead.org>, Hugh Dickins <hughd@...gle.com>, Baoquan He <bhe@...hat.com>,
Nhat Pham <nphamcs@...il.com>, Kemeng Shi <shikemeng@...weicloud.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>, Ying Huang <ying.huang@...ux.alibaba.com>,
Johannes Weiner <hannes@...xchg.org>, David Hildenbrand <david@...hat.com>,
Yosry Ahmed <yosryahmed@...gle.com>, Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
Zi Yan <ziy@...dia.com>, linux-kernel@...r.kernel.org,
Kairui Song <kasong@...cent.com>, Barry Song <21cnbao@...il.com>
Subject: Re: [PATCH v4 01/15] docs/mm: add document for swap table
Hi Andrew,
Can you please apply this incremental fix up commit on the document
patch of the swap table series?
Just folding it into the original patch is fine.
Here is the change log:
- Move the swap table document to the mm main section. [SeongJae Park]
- Rewrite the swap table size sentence for easier to understand. [ Barry]
Thanks
Chris
On Thu, Sep 18, 2025 at 2:35 PM Barry Song <21cnbao@...il.com> wrote:
>
> > > I’m not entirely sure what you mean by “page table page.”
> >
> > The page that gets pointed by the page table, or the page that holds the PTE.
> >
> > > My understanding is that you’re saying:
> > > The swap table contains an array of pointers, each the same size as a PTE,
> > > so its total size typically matches a PTE page table—one page on modern
> > > 64-bit systems.
> >
> > That sounds good. Thanks for the suggestion.
> > I take your suggestion with some small modifications, mostly to
> > clarify the total size is the total size of one cluster of swap
> > tables. The total size of all swap tables in a swap file is much
> > bigger.
> >
> > How about this:
> >
> > A swap table is an array of pointers. Each pointer is the same size as a PTE.
> > The size of a swap table for one swap cluster typically matches a PTE
> > page table,
> > which is one page on modern 64-bit systems.
>
> Acked.
>
> >
> > Chris
>
> Thanks
> Barry
View attachment "0001-SQUASH-docs-fix-up-for-the-swap-table-document.patch" of type "text/x-patch" (2165 bytes)
Powered by blists - more mailing lists