Re: [PATCH 02/10] x86,tlb: get INVLPGB count max from CPUID

From: Rik van Riel
Date: Sun Dec 22 2024 - 09:40:20 EST


On Sun, 2024-12-22 at 12:46 +0100, Borislav Petkov wrote:
> On December 22, 2024 5:06:34 AM GMT+01:00, Rik van Riel
> <riel@xxxxxxxxxxx> wrote:
> > The CPU advertises the maximum number of pages that can be shot
> > down
> > with one INVLPGB instruction in the CPUID data.
> >
> > Save that information for later use.
>
> Definitely not replicate a single datum into every CPU's descriptor.
>
Oops. I was under the impression this was only done for
the boot CPU.

I'll turn it into a global variable.

--
All Rights Reversed.