[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E284CC4.8060902@redhat.com>
Date: Thu, 21 Jul 2011 18:59:00 +0300
From: Avi Kivity <avi@...hat.com>
To: Will Deacon <will.deacon@....com>
CC: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Frederic Weisbecker <fweisbec@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
Ingo Molnar <mingo@...e.hu>,
"acme@...stprotocols.net" <acme@...stprotocols.net>,
Jason Wessel <jason.wessel@...driver.com>
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists