Re: PI BUG with -rt13

Ingo Molnar
2005-11-18T13:27:10Z

* Dinakar Guniguntala <dino@in.ibm.com> wrote:

> Ingo, Thanks for providing the fix. However I still hit the same bug
> even with your changes

even with my patch the robust-futex code is still quite broken. E.g. in
down_futex(), it accesses rt-mutex internals without any locking (!):

if (rt_mutex_free(lock)) {
__down_mutex(lock __EIP__);
rt_mutex_set_owner(lock, owner_task->thread_info);
}

both rt_mutex_free() and rt_mutex_set_owner() must be called with the
proper locking. David?

Ingo