search for: init_pvlock_vcpu_st

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

2019 Dec 26
0
[PATCH 5/5] KVM: arm64: Support the vcpu preemption check
...e hypervisor not the guest to > avoid lifetime issues about kexec. Thanks for pointing it out to me! I'll update the memory allocation mechanism of the PV lock structure to avoid lifetime issues about kexec. > >> + >> + return 0; >> +} >> + >> +static int init_pvlock_vcpu_state(unsigned int cpu) >> +{ >> + struct pvlock_vcpu_state *reg; >> + struct arm_smccc_res res; >> + >> + reg = this_cpu_ptr(&pvlock_vcpu_region); >> + if (!reg) >> + return -EFAULT; >> + >> + /* Pass the memory address to host via hypercall...
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