Loading virt/kvm/async_pf.c +1 −5 Original line number Diff line number Diff line Loading @@ -106,11 +106,7 @@ static void async_pf_execute(struct work_struct *work) trace_kvm_async_pf_completed(addr, gva); /* * This memory barrier pairs with prepare_to_wait's set_current_state() */ smp_mb(); if (swait_active(&vcpu->wq)) if (swq_has_sleeper(&vcpu->wq)) swake_up(&vcpu->wq); mmput(mm); Loading Loading
virt/kvm/async_pf.c +1 −5 Original line number Diff line number Diff line Loading @@ -106,11 +106,7 @@ static void async_pf_execute(struct work_struct *work) trace_kvm_async_pf_completed(addr, gva); /* * This memory barrier pairs with prepare_to_wait's set_current_state() */ smp_mb(); if (swait_active(&vcpu->wq)) if (swq_has_sleeper(&vcpu->wq)) swake_up(&vcpu->wq); mmput(mm); Loading