Re: [PATCH RFC POC 03/50] alpha: commit fds on syscall exit

From: sashiko-bot

Date: Tue Sep 15 2026 - 08:10:39 EST


> Add TIF_FD_SLOTS and test it once the untraced system call has stored
> its result. A task that reserved descriptors calls syscall_trace_leave()
> and joins ret_from_sys_call with the flag gone.
>
> We mirror the traced error path where the switch stack is set up and the
> return address and the syscall restart state are placed in callee-saved
> registers.
>
> Btw, let's remove alpha... It's a pain.
>
> Signed-off-by: Christian Brauner (Amutable) <brauner@xxxxxxxxxx>

Sashiko has reviewed this patch and found no issues. It looks great!

--
Sashiko AI review · https://sashiko.dev/#/patchset/20260915-work-fd-reserve-unify-folded-v1-0-4d5217d6b246@xxxxxxxxxx?part=3