lkml.org 
[lkml]   [2012]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RFC V2 2/2] kvm PLE handler: Choose better candidate for directed yield

    * Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com> wrote:

    > --- a/virt/kvm/kvm_main.c
    > +++ b/virt/kvm/kvm_main.c
    > @@ -1595,6 +1595,9 @@ void kvm_vcpu_on_spin(struct kvm_vcpu *me)
    > continue;
    > if (waitqueue_active(&vcpu->wq))
    > continue;
    > + if (!kvm_arch_vcpu_check_and_update_eligible(vcpu)) {
    > + continue;
    > + }

    Saw this fly by for a second time and now it annoyed me enough
    to mention it: those curly braces are superfluous and should be
    dropped.

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2012-07-10 23:41    [W:0.033 / U:61.380 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site