Re: [PATCH 1/5] user_hooks: New user hooks subsystem

From: Frederic Weisbecker
Date: Wed Aug 01 2012 - 08:45:20 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/