]> sourceware.org Git - glibc.git/commit
nptl: Use FUTEX_LOCK_PI2 when available
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 25 Jun 2021 08:11:00 +0000 (10:11 +0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 1 Oct 2021 11:09:13 +0000 (08:09 -0300)
commit8352b6df371f1d08f86b4600a7725a5181e021ee
tree39a3bed73cdf1ec4908fccb4401a83295b74b81c
parentdd5adb515c105e4ad1619825babe85d75a7a755c
nptl: Use FUTEX_LOCK_PI2 when available

This patch uses the new futex PI operation provided by Linux v5.14
when it is required.

The futex_lock_pi64() is moved to futex-internal.c (since it used on
two different places and its code size might be large depending of the
kernel configuration) and clockid is added as an argument.

Co-authored-by: Kurt Kanzenbach <kurt@linutronix.de>
nptl/futex-internal.c
nptl/pthread_mutex_lock.c
nptl/pthread_mutex_timedlock.c
sysdeps/nptl/futex-internal.h
sysdeps/nptl/lowlevellock-futex.h
This page took 0.044808 seconds and 5 git commands to generate.