[PATCH RFC v2 00/54] arch, mm: create a generic set_memory/change_page_attr core
Dave Hansen
dave.hansen at intel.com
Tue Dec 1 16:09:55 PST 2026
On 11/26/26 03:14, Mike Rapoport (Microsoft) wrote:
> x86's implementation is the most versatile and most battle tested and as
> such it is the best base for the generic implementation: it preserves large
> mappings when it can, it splits when it must, it handles the direct map
> alias, it serializes against itself and it sanity checks the result. The
> others are catching up one bug at a time 😉
This is so sad. It's such a mess. :)
To be honest, I wonder if we should just start fresh. Use the x86
implementation to build a nice set of comprehensive tests and then try
to build a new, generic set_memory from scratch.
More information about the linux-arm-kernel
mailing list