Re: [PATCH v2 4/5] x86/hyperv: Filter TLB targets before building hypercalls

From: Naman Jain

Date: Wed Nov 25 2026 - 00:06:33 EST




On 11/25/2026 1:50 AM, Michael Kelley wrote:
From: Naman Jain <namjain@xxxxxxxxxxxxxxxxxxx> Sent: Monday, November 23, 2026 10:45 PM

On 11/24/2026 5:46 AM, Michael Kelley wrote:
From: Naman Jain <namjain@xxxxxxxxxxxxxxxxxxx> Sent: Tuesday, November 17,
2026 1:15 AM

SuperBench's eight-GPU PyTorch LSTM training on Azure MI300X VMs regressed
between Linux 6.8 and 7.0. Recreating DataLoader workers each epoch caused
host-to-GPU copy stalls and timeouts. The reported bisection identified
commit 209954cbc7d0 ("x86/mm/tlb: Update mm_cpumask lazily").

That change leaves a CPU's bit set after it switches to another mm.

To be more explicit,

"... leaves a CPU's bit set in the mm_cpumask even after the CPU switches
to another mm".


Acked.

Native flush callbacks remove these stale bits, but successful Hyper-V

Again, I'm wondering about the "successful" qualifier.


Discussed in patch 3 comments. Please let me know if I can retain this.

I know I'm being a bit pedantic, but perhaps this text:

... but successfully taking the Hyper-V hypercall path does not run those
callbacks.


This LGTM. Thanks.

Regard,
Naman

<snip>