Re: [PATCH 08/16] x86/pgtable/32: Allocate 8k page-tables when PTI is enabled

From: Joerg Roedel
Date: Fri Jan 19 2018 - 04:58:03 EST


On Wed, Jan 17, 2018 at 03:43:14PM -0800, Andy Lutomirski wrote:
> On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel <joro@xxxxxxxxxx> wrote:
> > #ifdef CONFIG_X86_PAE
> > .globl initial_pg_pmd
> > initial_pg_pmd:
> > .fill 1024*KPMDS,4,0
> > + .fill PTI_USER_PGD_FILL,4,0
>
> Couldn't this be simplified to just .align PGD_ALIGN, 0 without the .fill?

You are right, will change that.

Thanks,

Joerg