mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
fbf4dec702
Observed occassional failures in the futex_wait_timeout test:
ok 1 futex_wait relative succeeds
ok 2 futex_wait_bitset realtime succeeds
ok 3 futex_wait_bitset monotonic succeeds
ok 4 futex_wait_requeue_pi realtime succeeds
ok 5 futex_wait_requeue_pi monotonic succeeds
not ok 6 futex_lock_pi realtime returned 0
......
The test expects the child thread to complete some steps before
the parent thread gets to run. There is an implicit expectation
of the order of invocation of futex_lock_pi between the child thread
and the parent thread. Make this order explicit. If the order is
not met, the futex_lock_pi call in the parent thread succeeds and
will not timeout.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
futex_requeue.c | ||
futex_requeue_pi.c | ||
futex_requeue_pi_mismatched_ops.c | ||
futex_requeue_pi_signal_restart.c | ||
futex_wait.c | ||
futex_wait_private_mapped_file.c | ||
futex_wait_timeout.c | ||
futex_wait_uninitialized_heap.c | ||
futex_wait_wouldblock.c | ||
futex_waitv.c | ||
Makefile | ||
run.sh |