Re: [PATCH v2 2/2] x86/boot/64: round memory hole size up to next PMD page.

From: Dave Hansen
Date: Mon Sep 23 2019 - 17:20:38 EST


On 9/23/19 11:15 AM, Steve Wahl wrote:
> The kernel image map is created using PMD pages, which can include
> some extra space beyond what's actually needed. Round the size of the
> memory hole we search for up to the next PMD boundary, to be certain
> all of the space to be mapped is usable RAM and includes no reserved
> areas.

This looks good. It also fully closes any possibility that anyone's
future hardware will hit issues like this as long as they mark the
memory reserved, right?

Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>