Re: [PATCH 1/4] x86/mm/pat: Handle no-GBPAGES case correctly in populate_pud

From: Arvind Sankar
Date: Wed Mar 04 2020 - 13:50:48 EST


On Wed, Mar 04, 2020 at 07:44:50PM +0100, Ard Biesheuvel wrote:
>
> I've tried a couple of different ways, but I can't seem to get my
> memory map organized in the way that will trigger the error.

What does yours look like? efi_merge_regions doesn't merge everything
that will eventually be mapped the same way, so if there are some
non-conventional memory regions scattered over the address space, it
might be breaking up the mappings to the point where this doesn't
trigger.