Re: [PATCH 1/4] mm: flush stale TLB entries before installing a CoW'ed folio
From: David Hildenbrand (Arm)
Date: Thu Nov 19 2026 - 12:08:00 EST
On 11/19/26 18:04, Zi Yan wrote:
> On 19 Nov 2026, at 11:49, David Hildenbrand (Arm) wrote:
>
>> On 11/19/26 17:47, Zi Yan wrote:
>>>
>>>
>>> This is really old.
>>>
>>>
>>> This looks like an adhoc fix, but it is minimal for backport.
>>> Hopefully we can find a cleaner refactoring later.
>>
>> I'm afraid if we don't want to throw away performance there is no way around it.
>>
>> We have similar handling on the uffd-wp path ...
>
> Performance or our sanity. :)
I'm afraid that ship has sailed :)
I would really appreciate review on #4, I lost half my hair figuring that out
... and how to keep performance.
--
Cheers,
David