aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2023-01-12 12:38:28 +0000
committerOliver Upton <[email protected]>2023-01-26 18:48:47 +0000
commitfc6ee952cf0008fb4a60dd8e539d9f17decaabe5 (patch)
tree46e7f3738e265c94bf8e2cee709672b34388e76a /tools/perf/scripts/python/stackcollapse.py
parent4d74ecfa6458bf482d93ad9a98c7f0423ff0564b (diff)
KVM: arm64: Reduce overhead of trapped timer sysreg accesses
Each read/write to a trapped timer system register results in a whole kvm_timer_vcpu_put/load() cycle which affects all of the timers, and a bit more. There is no need for such a thing, and we can limit the impact to the timer being affected, and only this one. This drastically simplifies the emulated case, and limits the damage for trapped accesses. This also brings some performance back for NV. Whilst we're at it, fix a comment that didn't quite capture why we always set CNTVOFF_EL2 to 0 when disabling the virtual timer. Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions