Re: [PATCH 06/21] mm/page_alloc: add __GFP_SENSITIVE and always set it

From: Borislav Petkov

Date: Wed Jan 28 2026 - 12:01:10 EST


On Wed, Jan 28, 2026 at 03:57:07PM +0000, Brendan Jackman wrote:
> Yeah, that time has long since passed, I'm sorry about the delay!

Nothing to be sorry for.

> I'm working on it as we speak. The submission I've been trying to
> post for the last few week is to add a __GFP_UNMAPPED flag. That will
> unblock the guest_memfd unmapped usecase.
>
> I got some design elements wrong and had to reimplement some stuff
> during January (I had an AI review my code and it pointed out that
> part of my pagetable management code was garbage. Spooky).

Did it say "garbage"? If so, yeah, you're using the lkml review profile :-P

> Now I'm working on integrating the new version with the guest_memfd features
> to make sure it's actually fast (it's quite complicated so it had better be
> useful). Once that's done I'll hopefully be ready to post....
>
> _THEN_ I can update the __GFP_SENSITIVE functionality on top of the
> __GFP_UNMAPPED functionality. The former means "don't map into ASI" and the
> latter means "don't map at all" so they overlap in terms of allocator
> stuff.l

Sounds good.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette