selftests/arm64: GCS must survive io_uring SQPOLL worker exit
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | selftests/arm64: GCS must survive io_uring SQPOLL worker exittools/ tools/ | +255 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Mark Brown |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] selftests/arm64: GCS must survive io_uring SQPOLL worker exit
As suggested, a separate kselftest for the io_uring/SQPOLL worker path that gcs_reset_thread() also covers.
SQPOLL is create_io_thread() (args->fn + CLONE_VM). Without the reset, worker exit unmaps the parent's GCS. The test waits for iou-sqp-* to leave /proc/self/task after close (teardown is async), then checks the parent ss VMA count.
QEMU virt/max: pass with the reset; SIGSEGV on an unpatched kernel.
Iván Ezequiel Rodriguez (1):
selftests/arm64: GCS must survive io_uring SQPOLL worker exit
tools/testing/selftests/arm64/gcs/Makefile | 2 +- .../selftests/arm64/gcs/gcs-uring-worker.c | 254 ++++++++++++++++++ 2 files changed, 255 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/arm64/gcs/gcs-uring-worker.c
Signature · 1 line
2.43.0