mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: kus Kusche Klaus <kus@keba.com>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Subject: Re: Resent: BUG in RT 45-01 when RT program dumps core
Date: Thu, 19 May 2005 07:56:03 -0400	[thread overview]
Message-ID: <1116503763.15866.9.camel@localhost.localdomain> (raw)
In-Reply-To: <AAD6DA242BC63C488511C611BD51F367323212@MAILIT.keba.co.at>

On Thu, 2005-05-19 at 08:36 +0200, kus Kusche Klaus wrote:
> Quoting my mail from Apr 11th (received no response up to now):

Sorry, I must have missed it, I try to keep up on all mail associated to
Ingo's RT kernel. Including Ingo on the list is the right thing to do.

> > When a process running with RT priority dumps core,
> > I get the following BUG:
> > 
> > Apr 11 13:44:23 OF455 kern.err kernel: BUG: rtc2:833 RT task 
> > yield()-ing!

This is a check that we have to flag when a RT task calls yield.  This
in itself may not really be a bug, but it can be. There's places in the
kernel that call yield to wait for a bit to clear or a lock to become
unlock (doesn't grab it directly to prevent deadlocking).  This may be
OK with non RT tasks, since other tasks will get a chance to run. But
with RT tasks, a yield won't yield to any task with less priority than
the RT task. So if the RT task is yielding to let a lower priority task
do something it needs, it will in effect deadlock the system for all
tasks lower in priority than itself.

> This is still absolutely reproducable, in RT 7.47-01,
> with slight variations in the stack trace.
> 
> Is this something to worry about?

I'll take a look into it.


Ingo,

Did you get my patch to fix the kstop_machine yielding problem?

-- Steve



  reply	other threads:[~2005-05-19 11:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:36 kus Kusche Klaus
2005-05-19 11:56 ` Steven Rostedt [this message]
2005-05-19 12:38   ` Serge Noiraud
2005-05-19 13:12     ` Steven Rostedt
2005-05-19 13:37   ` Why yield in coredump_wait? [was: Re: Resent: BUG in RT 45-01 when RT program dumps core] Steven Rostedt
2005-05-19 15:47     ` Lee Revell
2005-05-19 16:03       ` Steven Rostedt
2005-05-19 17:25     ` Daniel Walker
2005-05-19 17:43       ` Alan Cox
2005-05-19 18:05         ` Steven Rostedt
2005-05-23  7:53           ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1116503763.15866.9.camel@localhost.localdomain \
    --to=rostedt@goodmis.org \
    --cc=kus@keba.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®