Re: [PATCH v2 0/3] skip redundant TLB sync IPIs
From: Dave Hansen
Date: Sat Jan 03 2026 - 12:06:38 EST
On 1/3/26 00:39, Lance Yang wrote:
...
> Maybe we could do that as a follow-up. I'd like to keep things simple
> for now, so we just add a bool property to skip redundant TLB sync IPIs
> on systems without INVLPGB support.
It's not just INVLPGB support. Take a look at hyperv_flush_tlb_multi(),
for instance. It can eventually land back in native_flush_tlb_multi(),
but would also "fail" the pv_ops check in all cases.
It's not that Hyper-V performance is super important, it just that the
semantics of the chosen approach here are rather complicated.
> Then we could add the mm->context (or something similar) tracking later
> to handle things more precisely.
>
> Anyway, I'm open to going straight to the mm->context approach as well
> and happy to do that instead :D
I'd really like to see what an mm->context approach looks like before we
go forward with what is being proposed here.
Is there some kind of hurry to get this done immediately?