lkml.org 
[lkml]   [2011]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] perf: add context field to perf_event
On 07/21/2011 06:46 PM, Will Deacon wrote:
> >
> > This is (and must be) called from a preempt disabled context, no mutexes
> > around here.
>
> Bah, yes, that is essential if you're dealing with current. Maybe use a
> spinlock instead?

Could work. Not thrilled about adding it to the kvm hot path, but I
can't say it will make a measurable impact.

--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2011-07-21 18:01    [W:0.073 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site