aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-12-07 09:16:39 +0530
committerAnup Patel <anup@brainfault.org>2022-12-07 09:16:39 +0530
commit3e2d4756e2e5dd854b36aa947d7b6168f21dc4a1 (patch)
treed238938ff1d549854745deefae7e39055d9bc39d /tools/perf/scripts/python/export-to-postgresql.py
parentRISC-V: KVM: Exit run-loop immediately if xfer_to_guest fails (diff)
downloadwireguard-linux-3e2d4756e2e5dd854b36aa947d7b6168f21dc4a1.tar.xz
wireguard-linux-3e2d4756e2e5dd854b36aa947d7b6168f21dc4a1.zip
RISC-V: KVM: Simplify kvm_arch_prepare_memory_region()
In kvm_arch_prepare_memory_region(), if no error occurs, a spin_lock()/ spin_unlock() call can be avoided. Switch to kvm_riscv_gstage_iounmap() that is the same as the current code, but with a better semantic. It also embeds the locking logic. So it is avoided if ret == 0. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions