> Reserving a descriptor with fd_prepare() marks the task with > SYSCALL_WORK_FD_SLOTS. The syscall exit path already tests the > syscall work bits so a syscall that deferred nothing pays nothing new > and one that did takes the slow path. syscall_exit_work() commits the > reservations before audit and ptrace. > > Architectures without the generic entry code grow TIF_FD_SLOTS bit in > their syscall exit work in the following patches. > > Signed-off-by: Christian Brauner (Amutable) <[email protected]>
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-4d5217d6b...@kernel.org?part=2
