Lines Matching refs:runner
336 * We can test vc->runner without taking the vcore lock,
337 * because only this task ever sets vc->runner to this
341 if (vc->runner == vcpu && vc->vcore_state >= VCORE_SLEEPING)
377 if (vc->runner == vcpu && vc->vcore_state >= VCORE_SLEEPING)
1059 vcore->runner)
1060 target = vcore->runner;
3421 * These are vcores that could run but their runner VCPU tasks are
3610 if (pvc->runner == NULL) {
3695 } else if (vc->runner) {
3701 if (vc->n_runnable > 0 && vc->runner == NULL) {
3702 /* make sure there's a candidate runner awake */
3802 /* if the runner is no longer runnable, let the caller pick a new one */
3803 if (vc->runner->arch.state != KVMPPC_VCPU_RUNNABLE)
4461 ++vc->runner->stat.generic.halt_attempted_poll;
4478 ++vc->runner->stat.generic.halt_successful_poll;
4490 ++vc->runner->stat.generic.halt_successful_poll;
4497 trace_kvmppc_vcore_blocked(vc->runner, 0);
4503 trace_kvmppc_vcore_blocked(vc->runner, 1);
4504 ++vc->runner->stat.halt_successful_wait;
4513 vc->runner->stat.generic.halt_wait_ns +=
4516 vc->runner->stat.generic.halt_wait_hist,
4520 vc->runner->stat.generic.halt_poll_fail_ns +=
4524 vc->runner->stat.generic.halt_poll_fail_hist,
4531 vc->runner->stat.generic.halt_poll_success_ns +=
4535 vc->runner->stat.generic.halt_poll_success_hist,
4643 if (vc->vcore_state == VCORE_PREEMPT && vc->runner == NULL)
4669 vc->runner = vcpu;
4681 vc->runner = NULL;
4690 if (vc->vcore_state == VCORE_PREEMPT && vc->runner == NULL)