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

From: Adrian Barnaś

Date: Wed Jul 22 2026 - 11:25:54 EST


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.
Best regards,
Adrian