Re: [PATCH] x86/boot/KASLR: skip the specified crashkernel reserved region

From: Borislav Petkov
Date: Mon Feb 25 2019 - 04:45:28 EST


On Mon, Feb 25, 2019 at 03:59:56PM +0800, Pingfan Liu wrote:
> crashkernel=x@y option may fail to reserve the required memory region if
> KASLR puts kernel into the region. To avoid this uncertainty, making KASLR
> skip the required region.

Lemme see if I understand this correctly: supplying crashkernel=X@Y
influences where KASLR would put the randomized kernel. And it should be
the other way around, IMHO. crashkernel= will have to "work" with KASLR
to find a suitable range and if the reservation at Y fails, then we tell
the user to try the more relaxed variant crashkernel=M.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.