Home
last modified time | relevance | path

Searched refs:halt_poll_ns (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/Documentation/virt/kvm/
Dhalt-polling.rst39 kvm_vcpu->halt_poll_ns
43 kvmppc_vcore->halt_poll_ns
91 |halt_poll_ns | The global max polling | KVM_HALT_POLL_NS_DEFAULT|
129 KVM_CAP_HALT_POLL is a VM capability that allows userspace to override halt_poll_ns
130 on a per-VM basis. VMs using KVM_CAP_HALT_POLL ignore halt_poll_ns completely (but
138 - Care should be taken when setting the halt_poll_ns module parameter as a large value
142 global max polling interval (halt_poll_ns) then the host will always poll for the
Dapi.rst7216 KVM_CAP_HALT_POLL overrides the kvm.halt_poll_ns module parameter to set the
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv.c4238 vc->halt_poll_ns *= halt_poll_ns_grow; in grow_halt_poll_ns()
4239 if (vc->halt_poll_ns < halt_poll_ns_grow_start) in grow_halt_poll_ns()
4240 vc->halt_poll_ns = halt_poll_ns_grow_start; in grow_halt_poll_ns()
4246 vc->halt_poll_ns = 0; in shrink_halt_poll_ns()
4248 vc->halt_poll_ns /= halt_poll_ns_shrink; in shrink_halt_poll_ns()
4313 if (vc->halt_poll_ns) { in kvmppc_vcore_blocked()
4314 ktime_t stop = ktime_add_ns(start_poll, vc->halt_poll_ns); in kvmppc_vcore_blocked()
4343 if (vc->halt_poll_ns) in kvmppc_vcore_blocked()
4373 if (vc->halt_poll_ns) { in kvmppc_vcore_blocked()
4384 if (vc->halt_poll_ns) { in kvmppc_vcore_blocked()
[all …]
/linux-6.1.9/virt/kvm/
Dkvm_main.c77 unsigned int halt_poll_ns = KVM_HALT_POLL_NS_DEFAULT; variable
78 module_param(halt_poll_ns, uint, 0644);
79 EXPORT_SYMBOL_GPL(halt_poll_ns);
3368 old = val = vcpu->halt_poll_ns; in grow_halt_poll_ns()
3378 vcpu->halt_poll_ns = val; in grow_halt_poll_ns()
3387 old = val = vcpu->halt_poll_ns; in shrink_halt_poll_ns()
3398 vcpu->halt_poll_ns = val; in shrink_halt_poll_ns()
3496 return READ_ONCE(halt_poll_ns); in kvm_vcpu_max_halt_poll_ns()
3514 if (vcpu->halt_poll_ns > max_halt_poll_ns) in kvm_vcpu_halt()
3515 vcpu->halt_poll_ns = max_halt_poll_ns; in kvm_vcpu_halt()
[all …]
/linux-6.1.9/drivers/cpuidle/
DKconfig81 host via halt_poll_ns for some scenarios).
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_book3s.h95 unsigned int halt_poll_ns; member
/linux-6.1.9/include/linux/
Dkvm_host.h334 unsigned int halt_poll_ns; member
2087 extern unsigned int halt_poll_ns;