lkml.org 
[lkml]   [2019]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 5/8] KVM: x86: Add WARNs to detect out-of-bounds register indices
From
Date
On 27/09/19 23:45, Sean Christopherson wrote:
> Open code the RIP and RSP accessors so as to avoid pointless overhead of
> WARN_ON_ONCE().

Is there actually an overhead here? It is effectively WARN_ON_ONCE(0)
which should be compiled out just fine.

Paolo

\
 
 \ /
  Last update: 2019-10-09 12:51    [W:0.210 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site