Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin

From: Cornelia Huck
Date: Tue Aug 08 2017 - 03:42:06 EST


On Tue, 8 Aug 2017 12:05:31 +0800
"Longpeng(Mike)" <longpeng2@xxxxxxxxxx> wrote:

> This is a simple optimization for kvm_vcpu_on_spin, the
> main idea is described in patch-1's commit msg.

I think this generally looks good now.

>
> I did some tests base on the RFC version, the result shows
> that it can improves the performance slightly.

Did you re-run tests on this version?

I would also like to see some s390 numbers; unfortunately I only have a
z/VM environment and any performance numbers would be nearly useless
there. Maybe somebody within IBM with a better setup can run a quick
test?