Re: [PATCH RFC 00/18] arch, mm: create a generic set_memory/change_page_attr core

Mike Rapoport <[email protected]> Mon, 27 Jul 2026 13:16:01 +0300
Newsgroups dev.linux.lists.loongarch,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-riscv,org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <[email protected]>
Hi Adrian,

On Wed, Jul 22, 2026 at 03:17:19PM +0000, Adrian Barnaƛ wrote:
> On Tue, Jul 21, 2026 at 07:23:23PM +0300, Mike Rapoport (Microsoft) wrote:
> 
> Hi Mike,
> 
> > Once this settles, the next step I'm planning is to convert arm64. This
> > would be much more involved than loongarch and riscv together, so I
> > didn't even aspire to include arm64 in the first RFC. That said, I have
> > a very ugly arm64 prototype that rewrites arch/arm64/pageattr.c to use
> > the generic CPA infrastructure and replaces the existing implementation
> > of page table splits for systems that support bbml2. But there's a lot
> > of yak shaving there to get from a PoC to actual patches.
> 
> Could you share your PoC for ARM64. I can help you with that and align my
> execmem rox cache for ARM64  changes to the desired shape of this API.

It's too ugly and more importantly it cuts too many edges. 
I'll try to bring it into a better shape and will share then Really Soon :)
 
> Best regards,
> Adrian

-- 
Sincerely yours,
Mike.