Re: [PATCH v6 09/12] x86/mm: enable broadcast TLB invalidation for multi-threaded processes

From: Rik van Riel
Date: Wed Jan 22 2025 - 20:45:19 EST


On Tue, 2025-01-21 at 11:33 +0100, Peter Zijlstra wrote:
> On Tue, Jan 21, 2025 at 10:55:07AM +0100, Peter Zijlstra wrote:
> >
> > Can't we just start with a very simple constant test and poke at
> > things
> > if/when its found to not work?
>
> Something like so perhaps?

I've applied your suggestions, with the exception of some
code that was already simplified further based on other
people's suggestions (get_global_asid is no longer a loop).

--
All Rights Reversed.