lkml.org 
[lkml]   [2008]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/20 -v5] printk - dont wakeup klogd with interrupts disabled

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).

>
> > As for -rt, we've disabled printk for consoles not ATOMIC safe. So the
> > only consoles that will print in atomic sections so far are, earlyprintk
> > and the VGA.
>
> Is this code you added recently for tracing?

Nope, it's been there for a few releases and had nothing to do with the
latency tracer.

<looks at code>

Hmm, seems that only the "hack" fix is in upstream. The Red Hat version
has the better fix, but mainline didn't get it. OK, I'll add that to the
next -rt release.

-- Steve



\
 
 \ /
  Last update: 2008-01-23 19:47    [W:0.068 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site