Re: [PATCH v2] x86/mm: resize user_pcid_flush_mask for PTI / broadcast TLB flush combination

From: Rik van Riel
Date: Sun May 18 2025 - 12:23:17 EST


On Sun, 2025-05-18 at 08:25 +0200, Ingo Molnar wrote:
>
> * Rik van Riel <riel@xxxxxxxxxxx> wrote:
>
> > But it is perfectly happy with getting the address of the first
> > long
> > in that array, which works for both array size 1 and array size 32.
>
> Yeah. Testing is still a question: does this boot on a system with
> PCID
> && INVLPGB features, with PTI force-enabled ("pti=on" boot option)?

This version runs, and no signs of corruption with
last_global_asid up over a few hundred due to various
programs running and exiting.

--
All Rights Reversed.