Re: Recursion bug in -rt

From: Ingo Molnar
Date: Tue Dec 20 2005 - 08:24:24 EST



* David Singleton <dsingleton@xxxxxxxxxx> wrote:

> Dinakar,
> after further testing and investigation I believe you original
> assessment was correct.
> The problem you are seeing is not a library problem.
> The changes to down_futex need to be reverted. There is a new patch at
>
> http://source.mvista.com/~dsingleton/patch-2.6.15-rc5-rt2-rf2.
>
> that reverts the changes to down_futex.

hm, i'm looking at -rf4 - these changes look fishy:

- _raw_spin_lock(&lock_owner(lock)->task->pi_lock);
+ if (current != lock_owner(lock)->task)
+ _raw_spin_lock(&lock_owner(lock)->task->pi_lock);

why is this done?

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