search for: cpuhp_ap_arm_kvm_pvlock_starting

Displaying 4 results from an estimated 4 matches for "cpuhp_ap_arm_kvm_pvlock_starting".

2019 Dec 26
0
[PATCH 5/5] KVM: arm64: Support the vcpu preemption check
...;per_cpu(pvlock_vcpu_region, cpu); >> + >> + if (reg) >> + return !!(reg->preempted & 1); >> + >> + return false; >> +} >> + >> +static int kvm_arm_init_pvlock(void) >> +{ >> + int ret; >> + >> + ret = cpuhp_setup_state(CPUHP_AP_ARM_KVM_PVLOCK_STARTING, >> + "hypervisor/arm/pvlock:starting", >> + init_pvlock_vcpu_state, >> + pvlock_vcpu_state_dying_cpu); >> + if (ret < 0) >> + return ret; >> + >> + pv_ops.lock.vcpu_is_preempted = kvm_vcpu_is_preempted; >> + >> + pr_info(...
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
2019 Dec 26
7
[PATCH v2 0/6] KVM: arm64: VCPU preempted check support
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 worse than early yielding. We have observed some