Re: Why yield in coredump_wait? [was: Re: Resent: BUG in RT 45-01when RT program dumps core]

From: Steven Rostedt
Date: Thu May 19 2005 - 13:07:13 EST


On Thu, 2005-05-19 at 18:43 +0100, Alan Cox wrote:
> On Iau, 2005-05-19 at 18:25, Daniel Walker wrote:
> > I've seen a RT yield warning on this yield while running the FUSYN
> > tests .. I can't imagine why it's there either.
>
> Would it not make more sense to kick a task out of hard real time at the
> point it begins dumping core. The core dumping sequence was never
> something that thread intended to execute at real time priority
>

That's what I recommended in an earlier email. I figured I'd wait to
see Ingo's response before sending him any patches. The drop from RT
should probably be after the zap_threads, that way it can kill those
using the same mm right away. Which also goes to say, we should get rid
of that yield.

-- Steve


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