All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] QEMU kvm: Adding paravirtual spinlock support for x86.
@ 2012-03-23  8:22 ` Raghavendra K T
  0 siblings, 0 replies; 12+ messages in thread
From: Raghavendra K T @ 2012-03-23  8:22 UTC (permalink / raw)
  To: Avi Kivity, Jan Kiszka
  Cc: Marcelo Tosatti, Alexander Graf, Qemu-devel, KVM,
	Anthony Liguori, Srivatsa Vaddagiri

The patch, extends KVM-hypervisor and Linux guest running on
KVM-hypervisor to support pv-ticket spinlocks.

PV ticket spinlock helps to solve Lock Holder Preemption problem discussed in
http://www.amd64.org/fileadmin/user_upload/pub/LHP-commented_slides.pdf.

When spinlock is contended,a guest vcpu relinqueshes cpu by halt().
Correspondingly, One hypercall is introduced in KVM hypervisor,that allows
a vcpu to kick the halted vcpu to continue with execution.

Note:
Below patch should be applied only after corresponding
linux-header changes taken into qemu via scripts/update-linux-headers.sh script.
---
Changes in V3:
 rename PVLOCK_KICK --> PV_UNHALT
 add MSR related changes to aid migration

Changes in V2:
 Drop the syncing kernel header changes. (Alex) 
 rename KICK_VCPU --> PVLOCK_KICK.

Raghavendra K T(2):
 add PV_UNHALT feature support.
 add support to get/set vcpu unhalt msr to aid migration

 target-i386/cpu.h |    1 +
 target-i386/kvm.c |   14 +++++++++++++-
 2 files changed, 14 insertions(+), 1 deletions(-)

V5 Kernel changes:
 https://lkml.org/lkml/2012/3/23/50

V4 kernel changes:
 https://lkml.org/lkml/2012/1/14/66
 Qemu changes for V4:
 http://www.mail-archive.com/kvm@vger.kernel.org/msg66450.html

 V3 kernel Changes:
 https://lkml.org/lkml/2011/11/30/62
 V2 kernel changes :
 https://lkml.org/lkml/2011/10/23/207

 Previous discussions : (posted by Srivatsa V).
 https://lkml.org/lkml/2010/7/26/24
 https://lkml.org/lkml/2011/1/19/212

 Qemu patch for V3:
 http://lists.gnu.org/archive/html/qemu-devel/2011-12/msg00397.html


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

end of thread, other threads:[~2012-03-23 13:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23  8:22 [PATCH 0/2] QEMU kvm: Adding paravirtual spinlock support for x86 Raghavendra K T
2012-03-23  8:22 ` [Qemu-devel] " Raghavendra K T
2012-03-23  8:23 ` [PATCH 1/2] QEMU kvm: Add PV_UNHALT feature support Raghavendra K T
2012-03-23  8:23   ` [Qemu-devel] " Raghavendra K T
2012-03-23  8:23 ` [PATCH 2/2] QEMU kvm: Add support to get/set vcpu unhalt msr to aid migration Raghavendra K T
2012-03-23  8:23   ` [Qemu-devel] " Raghavendra K T
2012-03-23  8:57   ` Jan Kiszka
2012-03-23  8:57     ` [Qemu-devel] " Jan Kiszka
2012-03-23  9:38     ` Raghavendra K T
2012-03-23  9:38       ` [Qemu-devel] " Raghavendra K T
2012-03-23 13:07     ` Raghavendra K T
2012-03-23 13:07       ` [Qemu-devel] " Raghavendra K T

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.