Re: [PATCH 1/1] selftests/arm64: GCS must survive io_uring SQPOLL worker exit

From: Mark Brown

Date: Sat Nov 07 2026 - 11:16:43 EST


On Fri, Oct 30, 2026 at 02:00:46PM -0300, Iván Ezequiel Rodriguez wrote:
> SQPOLL threads are create_io_thread() workers (args->fn + CLONE_VM).
> They inherit GCS tracking via arch_dup_task_struct(); without
> gcs_reset_thread() their exit runs gcs_free() on the parent's stack.
>
> Create a SQPOLL ring, wait for iou-sqp-* to appear and leave
> /proc/self/task (close only queues async teardown), then check the
> parent ss VMA count is unchanged. QEMU: pass with the reset, SIGSEGV
> without it.

Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature