Re: [PATCH 01/20 -v5] printk - dont wakeup klogd with interruptsdisabled

From: Daniel Walker
Date: Wed Jan 23 2008 - 15:02:10 EST



On Wed, 2008-01-23 at 10:50 -0800, Daniel Walker wrote:
> On Wed, 2008-01-23 at 13:43 -0500, Steven Rostedt wrote:
> > On Wed, 23 Jan 2008, Daniel Walker wrote:
> >
> > >
> > > On Wed, 2008-01-23 at 13:18 -0500, Steven Rostedt wrote:
> > >
> > > > The wakeup hook in schedule is when we find out that we hit our max. I
> > > > could postpone that somehow, but that would require more glue code than I
> > > > would like to add.
> > >
> > > Which hook specifically ?
> >
> > The wakeup tracer does a print on max when the new task is about to be
> > switched to (in context_switch).
>
> You can't move that hook to when the task actually starts running (i.e.
> at the end of schedule() )..

I mean , why can't you?

Daniel

--
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/