summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorWang Yechao <wang.yechao255@zte.com.cn>2026-07-31 17:12:08 +0800
committerAnup Patel <anup@brainfault.org>2026-08-01 11:56:19 +0530
commit6854a0f4d9bee9f0fa51dfc3898ce1e6d88b05a8 (patch)
tree6da5709b4b51a0d086b7f259cceda4f4cc73dcf3 /tools/perf/scripts/python/bin
parentda870fdafa8adf6f6287dbbdd2c3b3181655965e (diff)
RISC-V: KVM: Remove redundant TLB flush operations
The function kvm_arch_mmu_enable_log_dirty_pt_masked() is invoked from two distinct call paths: kvm_clear_dirty_log_protect() kvm_arch_mmu_enable_log_dirty_pt_masked() kvm_vm_ioctl_reset_dirty_pages() kvm_dirty_ring_reset() kvm_reset_dirty_gfn() kvm_arch_mmu_enable_log_dirty_pt_masked() In both scenarios, the caller already performs a remote TLB flush after dirty logging is enabled, so the TLB flush inside kvm_arch_mmu_enable_log_dirty_pt_masked() is unnecessary. Remove it. Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20260731091215.1549430-4-wang.yechao255@zte.com.cn Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions