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

From: Mike Rapoport

Date: Wed Jul 22 2026 - 02:55:50 EST


On Tue, Jul 21, 2026 at 12:54:46PM -0700, Borislav Petkov wrote:
> On Tue, Jul 21, 2026 at 09:28:56PM +0300, Mike Rapoport wrote:
> > I'll take it via the memblock tree? ;-)
>
> Definitely not.
>
> Unless you folks want to carve out the bits of set_memory.c which interact
> with core mm and mark it as maintained by someone else. I personally don't
> mind too much.

Well, in essence that's what this set is doing:

arch/x86/mm/pat/set_memory.c | 611 ++++----------------------------
{arch/x86/mm/pat => mm}/cpa-test.c | 66 ++--
mm/set_memory.c | 396 +++++++++++++++++++++

I just decided to postpone MAINTAINERS update that would add
mm/set_memory.c mm/cpa-test.c to MM CORE section until non-rfc version.

> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette

--
Sincerely yours,
Mike.