aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2024-04-23 16:05:16 +0100
committerMarc Zyngier <[email protected]>2024-05-01 16:46:58 +0100
commit7cc1d214a6cd39d7af13f931c8134c24e33dd7f6 (patch)
tree93dca87e4d9453ad43f5b92024f74d9b2ddc6ac2 /tools/perf/scripts/python/futex-contention.py
parent96171cfa55d0a58048ef7dada507141daa400027 (diff)
KVM: arm64: Avoid BBM when changing only s/w bits in Stage-2 PTE
Break-before-make (BBM) can be expensive, as transitioning via an invalid mapping (i.e. the "break" step) requires the completion of TLB invalidation and can also cause other agents to fault concurrently on the invalid mapping. Since BBM is not required when changing only the software bits of a PTE, avoid the sequence in this case and just update the PTE directly. Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Fuad Tabba <[email protected]> Acked-by: Oliver Upton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions