diff options
author | 2022-09-29 19:23:17 +0800 | |
---|---|---|
committer | 2022-10-12 18:51:50 -0700 | |
commit | bce8cb3c04dc01d21b6b17baf1cb6c277e7e6848 (patch) | |
tree | 14e2a35452ed18698b8fdc986c89c22e4a4a2c53 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | kasan: fix array-bounds warnings in tests (diff) | |
download | linux-dev-bce8cb3c04dc01d21b6b17baf1cb6c277e7e6848.tar.xz linux-dev-bce8cb3c04dc01d21b6b17baf1cb6c277e7e6848.zip |
mm: use update_mmu_tlb() on the second thread
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.
As David pointed out, this is a performance improvement, not a
correctness fix.
Link: https://lkml.kernel.org/r/20220929112318.32393-2-zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Bibo Mao <maobibo@loongson.cn>
Cc: Chris Zankel <chris@zankel.net>
Cc: Huacai Chen <chenhuacai@loongson.cn>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions