Re: [PATCH v2] arm64: tlbflush: Reset active_cpu on ASID rollover

From: Will Deacon

Date: Thu Jun 25 2026 - 05:28:22 EST


On Wed, Jun 24, 2026 at 03:13:12PM -0700, Sayali Kulkarni wrote:
> For v3, I am exploring handling active_cpu together with the generation so
> that the reset can’t open a NONE window. Doing it in the slow path after
> local flush and updating to the current CPU rather than NONE. Does that
> direction seem reasonable or is there a cleaner way to avoid the under-claim
> window? Will follow up with a patch once it’s figured out.

Please don't.

I already reviewed Ryan's v2 and there was some good discussion over
there. Having you send a random other version of it isn't helpful in
the slightest and I won't be applying it.

Will