[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c91878d6-f645-4fc0-abd3-f1ba4aef47cd@huawei.com>
Date: Sat, 18 Oct 2025 11:12:47 +0800
From: Yin Tirui <yintirui@...wei.com>
To: Matthew Wilcox <willy@...radead.org>
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 10/17/2025 2:22 AM, Matthew Wilcox wrote:
> 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.
>
Understood. I'm working on it.
--
Best regards,
Yin Tirui
Powered by blists - more mailing lists