Re: [PATCH 3/3] Stop tracing on a schedule bug

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Gleixner
Date: Thursday, April 15, 2010 - 4:01 pm

On Thu, 15 Apr 2010, Chase Douglas wrote:

Well, scheduling while atomic is a BUG, but one of the category which
allows the kernel to continue. So in fact it's treated like a WARN_ON.
So the tracing_off_event() qualifier should be *_WARN.

That's independent of the question whether you want to stop tracing in
that very case. Though I agree that the tracer should stop here.


That's a serious PITA caused by the "let's mimic the other OS" crowd
and no excuse for creating a mess in the kernel.
 
Thanks,

	tglx
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/3] Stop tracing on a schedule bug, Chase Douglas, (Wed Apr 14, 9:20 am)
Re: [PATCH 1/3 v4] Add tracing_off_event() to stop tracing ..., Frederic Weisbecker, (Thu Apr 15, 1:13 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Frederic Weisbecker, (Thu Apr 15, 2:03 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Chase Douglas, (Thu Apr 15, 2:45 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Thomas Gleixner, (Thu Apr 15, 4:01 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Frederic Weisbecker, (Thu Apr 15, 4:10 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Chase Douglas, (Thu Apr 15, 4:27 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Thomas Gleixner, (Thu Apr 15, 4:50 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Thomas Gleixner, (Thu Apr 15, 5:21 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Frederic Weisbecker, (Thu Apr 15, 6:49 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Chase Douglas, (Thu Apr 15, 8:52 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Chase Douglas, (Thu Apr 15, 9:01 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Steven Rostedt, (Fri Apr 16, 9:41 am)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Steven Rostedt, (Fri Apr 16, 9:46 am)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Chase Douglas, (Fri Apr 16, 10:14 am)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Frederic Weisbecker, (Fri Apr 16, 11:14 am)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Thomas Gleixner, (Fri Apr 16, 12:58 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug, Chase Douglas, (Mon Apr 19, 3:30 pm)