Re: [RFC patch 4/7] futex: Add support for attached futexes

From: Thomas Gleixner
Date: Sun Apr 03 2016 - 05:59:33 EST


On Sat, 2 Apr 2016, Andy Lutomirski wrote:

> On 04/02/2016 04:09 AM, Thomas Gleixner wrote:
> [omitted due to some Thunderbird bug, sigh]
>
> What happens if you mix attached an non-attached ops on the same futex?

Not much. You might get an error code, sleep forever or the call will just
result in a NOP wasting cpu cycles. That's the same when you mix
shared/private operations on the same futex.

Thanks,

tglx