Userland PI-futex does not work on ARM (2.6.21.5-rt18)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

I am using the 2.6.21.5-rt18 kernel on the ARM core Atmel at91rm9200
together with a Glibc 2.5+GCC4.2.0 toolchain, and I found out that the
userland PI futexes (configured with PTHREAD_PRIO_INHERIT) do not
work.

What happens is:
* Thread A claims the mutex, and gets the lock.
* Thread B claims the mutex, and *also* gets the lock. (this is
obviously already wrong)
* Thread A wants to release the mutex and that fails because it does
not own it...

It looks like mutexes configured *without* PTHREAD_PRIO_INHERIT seem
to work fine, but have not tested that thouroughly.

Is this problem already known, or am I the first person running into it?


Kind Regards,

Remy Böhmer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux