Re: [PATCH v3 1/1] x86/boot/compressed: Fix avoiding memmap in physical KASLR
From: Borislav Petkov
Date: Tue Jan 13 2026 - 06:27:22 EST
On Tue, Jan 13, 2026 at 12:21:25PM +0100, Michał Cłapiński wrote:
> Currently, if you have 4 or fewer memmaps, KASLR correctly avoids
> putting the kernel there. That just works now and Ard's change would
> disable that.
And why do we care about 4 or fewer memmaps? Is that a valid use case which we
have to support? 4 is magic but 5 is a no-no?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette