Re: Robust Futex update

From: Ingo Molnar
Date: Fri Oct 14 2005 - 00:35:51 EST



* David Singleton <dsingleton@xxxxxxxxxx> wrote:

> Ingo,
> here 's a patch for 2.6.14-rc4-rt1 that fixes two things:
>
> 1) Deregister futex returns -EBUSY instead of -EINVAL if a thread
> tries to deregister a pthread_mutex that another thread has locked.
>
> 2) Make the fast path robust. If a pthread_mutex is only locked in
> user space we need to clear the owner when the thread dies. This
> makes both the 'rt_mutex is locked in the kernel' and the
> 'pthread_mutex is only locked in user space' paths robust.

thanks, applied.

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/