lkml.org 
[lkml]   [2010]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] perf_events: improve DS/BTS/PEBS buffer allocation
From
Date
On Mon, 2010-09-13 at 17:13 +0200, Stephane Eranian wrote:
> > For now I think you can not do this. vmalloc'ed memory can't be safely
> > accessed from NMIs in x86 because that might fault. And faults from NMIs
> > are not supported. They cause very bad things: return from fault calls
> > iret which reenables NMI, so NMI can nest but in the meantime there is
> > only one NMI stack, so that gets quickly messed up.
> >
> What kind of faults are you talking about here? TLB faults?

Page faults. vmalloc pte setup is lazy.


\
 
 \ /
  Last update: 2010-09-13 17:19    [W:1.502 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site