lkml.org 
[lkml]   [2020]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] KVM: VMX: Enable Notify VM exit
From
Date
On 11/3/2020 2:25 AM, Paolo Bonzini wrote:
> On 02/11/20 19:01, Andy Lutomirski wrote:
>> What's the point? Surely the kernel should reliably mitigate the
>> flaw, and the kernel should decide how to do so.
>
> There is some slowdown in trapping #DB and #AC unconditionally. Though
> for these two cases nobody should care so I agree with keeping the code
> simple and keeping the workaround.

OK.

> Also, why would this trigger after more than a few hundred cycles,
> something like the length of the longest microcode loop? HZ*10 seems
> like a very generous estimate already.
>

As Sean said in another mail, 1/10 tick should be a placeholder.
Glad to see all of you think it should be smaller. We'll come up with
more reasonable candidate once we can test on real silicon.

\
 
 \ /
  Last update: 2020-11-03 07:40    [W:0.067 / U:31.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site