lkml.org 
[lkml]   [2014]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf, x86: Fall back to vmalloc for BTS buffer allocation
> We did this once, and that blew up big time.
>
> Even now, vmalloc_fault() has a very explicit:
>
> WARN_ON_ONCE(in_nmi());
>
> So this isn't going to happen until you fix that.

Good point.

We just need to call vmalloc_sync_all at allocation time,
no need to change vmalloc_fault.

-Andi



--
ak@linux.intel.com -- Speaking for myself only.


\
 
 \ /
  Last update: 2014-09-10 17:21    [W:0.061 / U:1.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site