All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/svm: Add support for Bus Lock Threshold
@ 2026-01-20  9:53 Alejandro Vallejo
  2026-01-20  9:53 ` [PATCH 1/2] x86/svm: Add infrastructure " Alejandro Vallejo
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Alejandro Vallejo @ 2026-01-20  9:53 UTC (permalink / raw)
  To: xen-devel
  Cc: Alejandro Vallejo, Jan Beulich, Andrew Cooper,
	Roger Pau Monné, Jason Andryuk, Stefano Stabellini

Bus Locks are very costly and a VM left unchecked spamming instructions that
lock the memory bus (e.g: unaligned atomic CAS) makes system perf take a
nosedive. This patch is similar to BLD of VMX, but for SVM. It configures all
VMRUNs so they automatically exit at the first encounter of a buslock event,
effectively rate-limiting them.

Cheers,
Alejandro

Alejandro Vallejo (2):
  x86/svm: Add infrastructure for Bus Lock Threshold
  x86/svm: Intercept Bus Locks for HVM guests

 xen/arch/x86/hvm/svm/svm.c            |  5 +++++
 xen/arch/x86/hvm/svm/vmcb.c           |  6 ++++++
 xen/arch/x86/hvm/svm/vmcb.h           | 15 +++++++++++++--
 xen/arch/x86/include/asm/hvm/svm.h    |  2 ++
 xen/arch/x86/include/asm/perfc_defn.h |  2 +-
 5 files changed, 27 insertions(+), 3 deletions(-)


base-commit: 7b3e1b4e848d34c9a5b6634009959a7b9dd42104
-- 
2.43.0



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2026-01-21 15:10 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20  9:53 [PATCH 0/2] x86/svm: Add support for Bus Lock Threshold Alejandro Vallejo
2026-01-20  9:53 ` [PATCH 1/2] x86/svm: Add infrastructure " Alejandro Vallejo
2026-01-20 13:12   ` Andrew Cooper
2026-01-20 13:57     ` Alejandro Vallejo
2026-01-20 13:19   ` Teddy Astie
2026-01-20 13:30     ` Jan Beulich
2026-01-21 12:40       ` Alejandro Vallejo
2026-01-21 13:07         ` Jan Beulich
2026-01-21 15:10           ` Alejandro Vallejo
2026-01-20 13:58     ` Alejandro Vallejo
2026-01-20  9:53 ` [PATCH 2/2] x86/svm: Intercept Bus Locks for HVM guests Alejandro Vallejo
2026-01-20 13:11   ` Teddy Astie
2026-01-20 13:29     ` Jan Beulich
2026-01-20 14:41       ` Alejandro Vallejo
2026-01-20 13:18   ` Andrew Cooper
2026-01-20 13:27     ` Jan Beulich
2026-01-20 13:29       ` Andrew Cooper
2026-01-20 13:34         ` Jan Beulich
2026-01-20 14:11           ` Andrew Cooper
2026-01-20 14:16             ` Jan Beulich
2026-01-20 14:26               ` Andrew Cooper
2026-01-20 14:32                 ` Jan Beulich
2026-01-20 15:28                   ` Alejandro Vallejo
2026-01-20 15:41                     ` Alejandro Vallejo
2026-01-20 11:22 ` [PATCH 0/2] x86/svm: Add support for Bus Lock Threshold Alejandro Vallejo
2026-01-20 13:21   ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.