Skip to content

test/futex, test/waitid: futex and waitid cancel results

agxr io-uring 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2test/futex, test/waitid: check the count of a CANCEL_ALLtest/futex.c test/waitid.c+61 -90 replies
2/2test/futex, test/waitid: accept 0 for a single futex or waitid canceltest/futex.c test/waitid.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH liburing 0/2] test/futex, test/waitid: futex and waitid cancel results

Tests to go with the kernel series "io_uring/cancel: futex and waitid cancel results".

First patch checks that a CANCEL_ALL of three futex waits, and of three waitids, completes with 3. Kernels without the kernel series' patch 1 complete it with 1 and fail it.

Second patch lets a single futex or waitid cancel complete with 0, as the kernel series' patch 2 makes it, as well as with 1 as kernels so far do.

agxr (2):
test/futex, test/waitid: check the count of a CANCEL_ALL test/futex, test/waitid: accept 0 for a single futex or waitid cancel

 test/futex.c  | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
 test/waitid.c | 28 +++++++++++++++++++---------
 2 files changed, 65 insertions(+), 10 deletions(-)

base-commit: 236c1525ff1b2ea5870ecada04951eb2d053275e

Signature · 1 line
2.56.0