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: <aPE36PlriswJWSKD@casper.infradead.org>
Date: Thu, 16 Oct 2025 19:22:32 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Yin Tirui <yintirui@...wei.com>
Cc: akpm@...ux-foundation.org, david@...hat.com, lorenzo.stoakes@...cle.com,
	Liam.Howlett@...cle.com, vbabka@...e.cz, rppt@...nel.org,
	surenb@...gle.com, mhocko@...e.com, ziy@...dia.com,
	baolin.wang@...ux.alibaba.com, npache@...hat.com,
	ryan.roberts@....com, dev.jain@....com, baohua@...nel.org,
	catalin.marinas@....com, will@...nel.org, paul.walmsley@...ive.com,
	palmer@...belt.com, aou@...s.berkeley.edu, alex@...ti.fr,
	anshuman.khandual@....com, yangyicong@...ilicon.com,
	ardb@...nel.org, apopple@...dia.com, samuel.holland@...ive.com,
	luxu.kernel@...edance.com, abrestic@...osinc.com,
	yongxuan.wang@...ive.com, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linux-riscv@...ts.infradead.org, wangkefeng.wang@...wei.com,
	chenjun102@...wei.com
Subject: Re: [PATCH RFC 1/2] pgtable: add pte_clrhuge() implementation for
 arm64 and riscv

On Thu, Oct 16, 2025 at 07:27:03PM +0800, Yin Tirui wrote:
> Add pte_clrhuge() helper function for architectures that enable
> ARCH_SUPPORTS_HUGE_PFNMAP to clear huge page attributes from PTE
> entries.

I really would prefer to see pte_clrhuge() removed first.  Otherwise
this just goes onto the long list of "somebody should clean this up some
day" and nobody ever will.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ