[PATCH 1/1] selftests/arm64: GCS must survive io_uring SQPOLL worker exit
Mark Brown
broonie at kernel.org
Sat Nov 7 07:47:31 PST 2026
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 at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261107/17a63a94/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list