lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ