Re: Resent: BUG in RT 45-01 when RT program dumps core

From: Steven Rostedt (rostedt_at_goodmis.org)
Date: 05/19/05

  • Next message: Abhay_Salunke_at_Dell.com: "RE: [patch 2.6.12-rc3] dell_rbu: Resubmitting patch for new Dell BIOS update driver"
    To: kus Kusche Klaus <kus@keba.com>
    Date:	Thu, 19 May 2005 07:56:03 -0400
    
    

    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

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Abhay_Salunke_at_Dell.com: "RE: [patch 2.6.12-rc3] dell_rbu: Resubmitting patch for new Dell BIOS update driver"

    Relevant Pages

    • Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00
      ... > still using yield from his RT-tasks, or fix those subsystems. ... But any yielduse could become a problem due to priority ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Why yield in coredump_wait? [was: Re: Resent: BUG in RT 45-01 when RT program dumps core]
      ... On Thu, 2005-05-19 at 11:47 -0400, Lee Revell wrote: ... Because yield just doesn't cut it. ... should change its priority or nice value. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Resent: BUG in RT 45-01 when RT program dumps core
      ... > This is a check that we have to flag when a RT task calls yield. ... So if the RT task is yielding to let a lower priority task ... I'm interested in this patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-07
      ... So there's a window where the lock is open, ... > priority process snagged it just before the others got in. ... on UP too: if a lower priority task manages ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Re:without message queue
      ... " It is understandable that, at some certain point, your thread has to yield ... the CPU, so that some other thread gets a chance to run". ... Your real-time priority thread voluntarily yields the CPU by entering ... Meanwhile, some other real-time priority thread starts running, and does not ...
      (microsoft.public.win32.programmer.kernel)