lkml.org 
[lkml]   [2009]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:perfcounters/core] perf_counter: x86: Fix call-chain support to use NMI-safe methods
On 06/15/09 12:21, Avi Kivity wrote:
> You can read cr2 on nmi entry and nmi exit, and only write it if it
> has changed (if it turns out that writing cr2 is expensive; ISTR that
> it isn't).
>

Writing the real cr2 is expensive, but it may be cheap to write the
virtual cr2 in a vmx context. Or something.

J


\
 
 \ /
  Last update: 2009-06-15 22:21    [W:0.101 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site