Lie about futex_atomic_cmpxchg_inatomic kernel support.
authorAdam Conrad <adconrad@ubuntu.com>
Thu, 25 Aug 2022 17:16:34 +0000 (18:16 +0100)
committerAurelien Jarno <aurel32@debian.org>
Thu, 25 Aug 2022 17:16:34 +0000 (18:16 +0100)
commit43dee5730e382c339b9b62edd19348694450295e
tree869b8d5e699515726cb09fb9229a16e2625be576
parent55be168f3babbf25a0bc15eb3753a63e0fe22f82
Lie about futex_atomic_cmpxchg_inatomic kernel support.

Bug-Ubuntu: https://launchpad.net/bugs/1436162
Bug-Debian: https://bugs.debian.org/788799
Last-Update: 2015-03-25

In past versions of glibc, we incorrectly assumed all ARM kernels
in all configurations supported futex_atomic_cmpxchg_inatomic. This
was clearly a lie, however it was a lie that we relied on, because
the fallback implementation appears to not play nicely with certain
applications like pulseaudio.  Restore the lie for kernels > 2.6.32
and plug our ears and scream "LA LA LA" about how wrong this is.

Gbp-Pq: Topic arm
Gbp-Pq: Name local-arm-futex.diff
sysdeps/unix/sysv/linux/arm/kernel-features.h