qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel
@ 2014-08-28 11:58 Jens Freimann
  2014-08-28 11:58 ` [Qemu-devel] [PATCH 1/5] kvm: run cpu state synchronization on target vcpu thread Jens Freimann
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jens Freimann @ 2014-08-28 11:58 UTC (permalink / raw)
  To: Christian Borntraeger, Alexander Graf, Cornelia Huck
  Cc: Jens Freimann, qemu-devel

Whenever we call an ioctl from a wrong vcpu thread, the next ioctl will be
painfully slow because a synchronize_rcu thread has to be performed, therefore
involving all vcpu.

This patch series forces most ioctls to run on the associated vcpu.
It speeds up all start/restart/reset operations involving cpus drastically.


David Hildenbrand (5):
  kvm: run cpu state synchronization on target vcpu thread
  s390x/kvm: run guest triggered resets on the target vcpu thread
  s390x/kvm: execute sigp orders on the target vcpu thread
  s390x/kvm: execute "system reset" cpu resets on the vcpu thread
  s390x/kvm: execute the first cpu reset on the vcpu thread

 kvm-all.c                  | 18 ++++++++++++++++--
 target-s390x/cpu.c         |  6 +++++-
 target-s390x/cpu.h         | 15 +++++++++++++++
 target-s390x/kvm.c         | 23 ++++++++++++++++-------
 target-s390x/misc_helper.c | 30 ++++++++----------------------
 5 files changed, 60 insertions(+), 32 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2014-08-28 12:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-28 11:58 [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 1/5] kvm: run cpu state synchronization on target vcpu thread Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 2/5] s390x/kvm: run guest triggered resets on the " Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 3/5] s390x/kvm: execute sigp orders " Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 4/5] s390x/kvm: execute "system reset" cpu resets on the " Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 5/5] s390x/kvm: execute the first cpu reset " Jens Freimann
2014-08-28 12:58 ` [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel Christian Borntraeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).