[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kerne
From: |
Christian Borntraeger |
Subject: |
Re: [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel |
Date: |
Thu, 28 Aug 2014 14:58:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 28/08/14 13:58, Jens Freimann wrote:
> 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(-)
>
Thanks.
Applied 2-5 to https://github.com/borntraeger/qemu.git s390-next.
Patch 1 will be taken care of in Paolos kvm tree.
I will wait some more days before sending the pull request to give others a
chance for feedback.
Christian
- [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel, Jens Freimann, 2014/08/28
- [Qemu-devel] [PATCH 2/5] s390x/kvm: run guest triggered resets on the target vcpu thread, Jens Freimann, 2014/08/28
- [Qemu-devel] [PATCH 4/5] s390x/kvm: execute "system reset" cpu resets on the vcpu thread, Jens Freimann, 2014/08/28
- [Qemu-devel] [PATCH 3/5] s390x/kvm: execute sigp orders on the target vcpu thread, Jens Freimann, 2014/08/28
- [Qemu-devel] [PATCH 5/5] s390x/kvm: execute the first cpu reset on the vcpu thread, Jens Freimann, 2014/08/28
- [Qemu-devel] [PATCH 1/5] kvm: run cpu state synchronization on target vcpu thread, Jens Freimann, 2014/08/28
- Re: [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel,
Christian Borntraeger <=