Re: [PATCH v2 0/5] x86/mm: Allow preemption while waiting for kernel TLB flushes

From: Nadav Amit

Date: Mon Oct 05 2026 - 12:38:08 EST




> On 5 Oct 2026, at 10:48, Chuyi Zhou <zhouchuyi@xxxxxxxxxxxxx> wrote:
>
> This keeps the common descriptor and threshold policy, while allowing
> preemption during the final IPI completion wait. It does not yet
> provide the broader consolidation you suggested, but retains the
> existing stride_shift field for future kernel stride support.

This one looks better. I’m not pushing for consolidation right now,
but considering the complexity of invlpgb, TCE and stride handling,
I think it makes better sense to look forward a future where the
kernel and the user TLB invalidation paths would be unified.