Re: 2.6.10-rc1-bk4 and kernel/futex.c:542

Ingo Molnar
2004-10-26T11:23:19Z

* Florian Schmidt <mista.tapas@gmx.net> wrote:

> On Tue, 26 Oct 2004 11:35:50 +0200
> Michael Geithe <warpy@gmx.de> wrote:
>
> > hi,
> > here are some error messages after reboot in my logs.
> >
> > Badness in futex_wait at kernel/futex.c:542
>
> Hey Ingo,
>
> this futex.c:542 looks familiar to me (see the BUG logs for RP-V0.2). Dunno
> if it's coincidence though. Just guessing they might be correlated.

yeah, it definitely looks like there is some futex race that the
PREEMPT_REALTIME kernel triggers in no time. (this is because the
locking in the PREEMPT_REALTIME kernel is equivalent to an SMP system
with an infinite number of CPUs and will trigger the same races.)

Ingo