[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z9LOzj17FDFDw7JM@casper.infradead.org>
Date: Thu, 13 Mar 2025 12:25:50 +0000
From: Matthew Wilcox <willy@...radead.org>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@....de>, Zi Yan <ziy@...dia.com>,
Eric Biggers <ebiggers@...nel.org>
Subject: Re: [PATCH] mm: Move nth_page from folio_page into folio_next
On Thu, Mar 13, 2025 at 12:40:34PM +0800, Herbert Xu wrote:
> Discontiguous memory may require the use of nth_page instead of adding
> to struct page arithmetically. However, discontiguous memory cannot
> exist within a single folio.
That isn't true. HugeTLB can construct a folio which crosses a
contiguity boundary.
Powered by blists - more mailing lists