Skip to content
Commit 8352b6df authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

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: default avatarKurt Kanzenbach <kurt@linutronix.de>
parent dd5adb51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment