search for: pvlock_vcpu_region

Displaying 3 results from an estimated 3 matches for "pvlock_vcpu_region".

2019 Dec 26
0
[PATCH 5/5] KVM: arm64: Support the vcpu preemption check
...vlock-abi.h> >> >> struct static_key paravirt_steal_enabled; >> struct static_key paravirt_steal_rq_enabled; >> @@ -158,3 +159,93 @@ int __init pv_time_init(void) >> >> return 0; >> } >> + >> +DEFINE_PER_CPU(struct pvlock_vcpu_state, pvlock_vcpu_region) __aligned(64); >> +EXPORT_PER_CPU_SYMBOL(pvlock_vcpu_region); >> + >> +static int pvlock_vcpu_state_dying_cpu(unsigned int cpu) >> +{ >> + struct pvlock_vcpu_state *reg; >> + >> + reg = this_cpu_ptr(&pvlock_vcpu_region); >> + if (!reg) >> +...
2019 Dec 17
10
[PATCH 0/5] KVM: arm64: vcpu preempted check support
From: Zengruan Ye <yezengruan at huawei.com> This patch set aims to support the vcpu_is_preempted() functionality under KVM/arm64, which allowing the guest to obtain the vcpu is currently running or not. This will enhance lock performance on overcommitted hosts (more runnable vcpus than physical cpus in the system) as doing busy waits for preempted vcpus will hurt system performance far
2019 Dec 17
10
[PATCH 0/5] KVM: arm64: vcpu preempted check support
From: Zengruan Ye <yezengruan at huawei.com> This patch set aims to support the vcpu_is_preempted() functionality under KVM/arm64, which allowing the guest to obtain the vcpu is currently running or not. This will enhance lock performance on overcommitted hosts (more runnable vcpus than physical cpus in the system) as doing busy waits for preempted vcpus will hurt system performance far