Re: [PATCH v3 1/2] mm: use update_mmu_tlb() on the second thread
From: David Hildenbrand
Date: Fri Sep 30 2022 - 04:44:33 EST
On 30.09.22 10:43, Qi Zheng wrote:
On 2022/9/30 16:30, David Hildenbrand wrote:
On 29.09.22 13:23, Qi Zheng wrote:
As message in commit 7df676974359 ("mm/memory.c: Update local TLB
if PTE entry exists") said, we should update local TLB only on the
second thread. So in the do_anonymous_page() here, we should use
update_mmu_tlb() instead of update_mmu_cache() on the second thread.
Maybe mention here "This only affects performance, but not correctness."
Oh, this is better. Hi Andrew, do I need to resend the v4?
I assume he can squash it, most probably no need to resend. :)
--
Thanks,
David / dhildenb