[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120801124513.GB28650@somewhere.redhat.com>
Date: Wed, 1 Aug 2012 14:45:19 +0200
From: Frederic Weisbecker <fweisbec@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Alessio Igor Bogani <abogani@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Avi Kivity <avi@...hat.com>,
Chris Metcalf <cmetcalf@...era.com>,
Christoph Lameter <cl@...ux.com>,
Geoff Levand <geoff@...radead.org>,
Gilad Ben Yossef <gilad@...yossef.com>,
Hakan Akkan <hakanakkan@...il.com>,
"H. Peter Anvin" <hpa@...or.com>, Kevin Hilman <khilman@...com>,
Max Krasnyansky <maxk@...lcomm.com>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Stephen Hemminger <shemminger@...tta.com>,
Sven-Thorsten Dietrich <thebigcorporation@...il.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 1/5] user_hooks: New user hooks subsystem
On Wed, Aug 01, 2012 at 08:43:03AM -0400, Steven Rostedt wrote:
> On Wed, 2012-08-01 at 14:28 +0200, Frederic Weisbecker wrote:
> > On Tue, Jul 31, 2012 at 06:14:22PM +0200, Peter Zijlstra wrote:
>
> > So we probably need to generalize a bit more. Some naming based on
> > "code domain"?
> >
> > struct code_domain {
> > int is_tracking;
> > enum {
> > in_kernel,
> > in_user,
> > in_guest
> > } state;
> > }
>
> Is there a fundamental difference between 'in_user' and 'in_guest'
> though?
Probably not from RCU POV. But the cputime is not accounted the same.
--
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