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

From: Rik van Riel
Date: Sat Jan 11 2025 - 21:38:00 EST


On Mon, 2025-01-06 at 10:40 -0800, Dave Hansen wrote:
> On 12/30/24 09:53, Rik van Riel wrote:
> ...
> > +#ifdef CONFIG_CPU_SUP_AMD
> > + struct list_head broadcast_asid_list;
> > + u16 broadcast_asid;
> > + bool asid_transition;
> > +#endif
>
> Could we either do:
>
> config X86_TLB_FLUSH_BROADCAST_HW
> bool
> depends on CONFIG_CPU_SUP_AMD

I went with this option.

I also got rid of the list_head (thanks Nadav), and
moved the remaining two items into the same word as
the protection key bits.

I think I have everybody's comments addressed in my
code base now. I'll post a new version soon-ish :)


--
All Rights Reversed.