Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1699995

Re: [RFC] KVM: optimize the kvm_vcpu_on_spin

From David Hildenbrand <david@redhat.com>
Newsgroups linux.kernel
Subject Re: [RFC] KVM: optimize the kvm_vcpu_on_spin
Date 2017-07-31 14:30 +0200
Message-ID <u9hZF-6eS-25@gated-at.bofh.it> (permalink)
References <u8tqa-6KR-23@gated-at.bofh.it> <u9hdf-5GQ-3@gated-at.bofh.it> <u9hPY-6by-11@gated-at.bofh.it>
Organization Red Hat GmbH

Show all headers | View raw


> I'm not sure whether the operation of get the vcpu's priority-level is
> expensive on all architectures, so I record it in kvm_sched_out() for
> minimal the extra cycles cost in kvm_vcpu_on_spin().
> 

as you only care for x86 right now either way, you can directly optimize
here for the good (here: x86) case (keeping changes and therefore
possible bugs minimal).

-- 

Thanks,

David

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC] KVM: optimize the kvm_vcpu_on_spin "Longpeng(Mike)" <longpeng2@huawei.com> - 2017-07-29 08:30 +0200
  Re: [RFC] KVM: optimize the kvm_vcpu_on_spin David Hildenbrand <david@redhat.com> - 2017-07-31 13:40 +0200
    Re: [RFC] KVM: optimize the kvm_vcpu_on_spin "Longpeng (Mike)" <longpeng2@huawei.com> - 2017-07-31 14:20 +0200
      Re: [RFC] KVM: optimize the kvm_vcpu_on_spin David Hildenbrand <david@redhat.com> - 2017-07-31 14:30 +0200
        Re: [RFC] KVM: optimize the kvm_vcpu_on_spin Paolo Bonzini <pbonzini@redhat.com> - 2017-07-31 15:30 +0200
          Re: [RFC] KVM: optimize the kvm_vcpu_on_spin "Longpeng (Mike)" <longpeng2@huawei.com> - 2017-08-01 05:30 +0200
            Re: [RFC] KVM: optimize the kvm_vcpu_on_spin Paolo Bonzini <pbonzini@redhat.com> - 2017-08-01 10:40 +0200
      Re: [RFC] KVM: optimize the kvm_vcpu_on_spin Cornelia Huck <cohuck@redhat.com> - 2017-07-31 14:40 +0200
        Re: [RFC] KVM: optimize the kvm_vcpu_on_spin "Longpeng (Mike)" <longpeng2@huawei.com> - 2017-07-31 15:10 +0200
  Re: [RFC] KVM: optimize the kvm_vcpu_on_spin Christoffer Dall <cdall@linaro.org> - 2017-07-31 15:30 +0200
    Re: [RFC] KVM: optimize the kvm_vcpu_on_spin David Hildenbrand <david@redhat.com> - 2017-07-31 19:40 +0200
      Re: [RFC] KVM: optimize the kvm_vcpu_on_spin Cornelia Huck <cohuck@redhat.com> - 2017-08-01 09:00 +0200
    Re: [RFC] KVM: optimize the kvm_vcpu_on_spin "Longpeng (Mike)" <longpeng2@huawei.com> - 2017-08-01 04:30 +0200
  Re: [RFC] KVM: optimize the kvm_vcpu_on_spin Marc Zyngier <marc.zyngier@arm.com> - 2017-07-31 15:50 +0200
    Re: [RFC] KVM: optimize the kvm_vcpu_on_spin Paolo Bonzini <pbonzini@redhat.com> - 2017-07-31 16:30 +0200

csiph-web