On Mon, Jul 27, 2020 at 12:38:53PM +0800, Xiaoyao Li wrote:
> On 7/23/2020 9:21 AM, Sean Christopherson wrote:
> >On Wed, Jul 01, 2020 at 04:49:49PM +0200, Vitaly Kuznetsov wrote:
> >>Xiaoyao Li writes:
> >>>So you want an exit to userspace for every bus lock and leave it all to
> >>>userspace.
On 7/23/2020 9:21 AM, Sean Christopherson wrote:
On Wed, Jul 01, 2020 at 04:49:49PM +0200, Vitaly Kuznetsov wrote:
Xiaoyao Li writes:
So you want an exit to userspace for every bus lock and leave it all to
userspace. Yes, it's doable.
In some cases we may not even want to have a VM exit:
On Wed, Jul 01, 2020 at 04:49:49PM +0200, Vitaly Kuznetsov wrote:
> Xiaoyao Li writes:
> > So you want an exit to userspace for every bus lock and leave it all to
> > userspace. Yes, it's doable.
>
> In some cases we may not even want to have a VM exit: think
> e.g. real-time/partitioning case
On 7/1/2020 10:49 PM, Vitaly Kuznetsov wrote:
Xiaoyao Li writes:
On 7/1/2020 8:44 PM, Vitaly Kuznetsov wrote:
Xiaoyao Li writes:
On 7/1/2020 5:04 PM, Vitaly Kuznetsov wrote:
Chenyi Qiang writes:
[...]
static const int kvm_vmx_max_exit_handlers =
@@ -6830,6 +6838,13 @@ static
Xiaoyao Li writes:
> On 7/1/2020 8:44 PM, Vitaly Kuznetsov wrote:
>> Xiaoyao Li writes:
>>
>>> On 7/1/2020 5:04 PM, Vitaly Kuznetsov wrote:
Chenyi Qiang writes:
>>> [...]
>static const int kvm_vmx_max_exit_handlers =
> @@ -6830,6 +6838,13 @@ static fastpath_t
On 7/1/2020 8:44 PM, Vitaly Kuznetsov wrote:
Xiaoyao Li writes:
On 7/1/2020 5:04 PM, Vitaly Kuznetsov wrote:
Chenyi Qiang writes:
[...]
static const int kvm_vmx_max_exit_handlers =
@@ -6830,6 +6838,13 @@ static fastpath_t vmx_vcpu_run(struct kvm_vcpu *vcpu)
if
Xiaoyao Li writes:
> On 7/1/2020 5:04 PM, Vitaly Kuznetsov wrote:
>> Chenyi Qiang writes:
> [...]
>>> static const int kvm_vmx_max_exit_handlers =
>>> @@ -6830,6 +6838,13 @@ static fastpath_t vmx_vcpu_run(struct kvm_vcpu *vcpu)
>>> if (unlikely(vmx->exit_reason.failed_vmentry))
>>>
On 7/1/2020 5:04 PM, Vitaly Kuznetsov wrote:
Chenyi Qiang writes:
[...]
static const int kvm_vmx_max_exit_handlers =
@@ -6830,6 +6838,13 @@ static fastpath_t vmx_vcpu_run(struct kvm_vcpu *vcpu)
if (unlikely(vmx->exit_reason.failed_vmentry))
return EXIT_FASTPATH_NONE;
Chenyi Qiang writes:
> Virtual Machine can exploit bus locks to degrade the performance of
> system. Bus lock can be caused by split locked access to writeback(WB)
> memory or by using locks on uncacheable(UC) memory. The bus lock is
> typically >1000 cycles slower than an atomic operation
Virtual Machine can exploit bus locks to degrade the performance of
system. Bus lock can be caused by split locked access to writeback(WB)
memory or by using locks on uncacheable(UC) memory. The bus lock is
typically >1000 cycles slower than an atomic operation within a cache
line. It also
10 matches
Mail list logo