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] [day] [month] [year] [list]
Message-ID: <Z0JQvEK5jcOSaKsB@casper.infradead.org>
Date: Sat, 23 Nov 2024 22:01:32 +0000
From: Matthew Wilcox <willy@...radead.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>, linux-mm@...ck.org,
	mm-commits@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [GIT PULL] MM updates for 6.13-rc1

On Thu, Nov 21, 2024 at 09:42:29PM -0800, Andrew Morton wrote:
> It isn't only Huawai people.  David acked Gaosheng's patch and it snuck
> past me (again).  People keep on getting tricked by this idiom and I
> think we'd be better off with some nicely named wrapper to help
> readers understand what's going on.

This whole discussion has got out of hand.  The solution is to divorce
page and folio, and I think we can get there in 3-4 more merge windows,
at least with a CONFIG option.

And this is where &folio->page is USEFUL because it clearly marks all
the places that need to be fixed.  As I've been saying to people all
along, while folio_page(folio, 0) and &folio->page are the same today,
they have completely different semantics.  That hasn't stopped people
from getting it wrong, but some people can't be helped.

Don't bother coming up with clever new ways for people to get this
wrong.  Let's get this project over the finish line.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ