Re: [SECURITY] mm: khugepaged collapse_file() drops RWP PTE markers
From: Linus Torvalds
Date: Wed Nov 11 2026 - 16:00:00 EST
On Wed, 11 Nov 2026 at 12:20, David Hildenbrand (Arm) <david@xxxxxxxxxx> wrote:
>
> It would be a lot more consistent if we'd just add marker support. Or is there a
> good reason why that is explicitly not wanted?
Let's not help people do things that won't work on older kernels for
no real gain.
Is there an actual real-life user that would care and be enormously
helped by such a thing and it would increase performance or something?
That sounds very unlikely, since presumably re-faulting never happens
in practice, so just tracking it in user space is "free".
In the absence of some real load with a real argument for it, please
let's just document existing behavior to the fact that you need to
simply see the re-faulting of these things..
And let's document it in a way where the LLM's also see it and don't
think it's a mistake.
Linus