Re: Several tst-robust* tests time out with recent Linux kernel

From: Xi Ruoyao
Date: Tue Nov 14 2023 - 04:46:56 EST


On Tue, 2023-11-14 at 02:33 +0800, Xi Ruoyao wrote:
> Hi,
>
> With Linux 6.7.0-rc1, several tst-robust* tests time out on x86_64:
>
> FAIL: nptl/tst-robust1
> FAIL: nptl/tst-robust3
> FAIL: nptl/tst-robust4
> FAIL: nptl/tst-robust6
> FAIL: nptl/tst-robust7
> FAIL: nptl/tst-robust9
>
> This does not happen with Linux 6.6.0.  Do you have some clue about
> it?

Bisected to the kernel commit:

commit 5694289ce183bc3336407a78c8c722a0b9208f9b (HEAD)
Author: peterz@xxxxxxxxxxxxx <peterz@xxxxxxxxxxxxx>
Date: Thu Sep 21 12:45:08 2023 +0200

futex: Flag conversion

Futex has 3 sets of flags:

- legacy futex op bits
- futex2 flags
- internal flags

Add a few helpers to convert from the API flags into the internal
flags.

Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Andr<C3><A9> Almeida <andrealmeid@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20230921105247.722140574@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University