Thread (5 messages) read the whole thread 5 messages, 1 author, 14d ago

Re: [PATCH net-next v2 1/3] af_unix: Schedule the garbage collector at task exit

From: Nam Cao <hidden>
Date: 2026-07-17 06:45:36
Also in: linux-rt-devel, lkml

Nam Cao [off-list ref] writes:
quoted hunk ↗ jump to hunk
@@ -1002,6 +1003,7 @@ void __noreturn do_exit(long code)
 	exit_sem(tsk);
 	exit_shm(tsk);
 	exit_files(tsk);
+	unix_schedule_gc(NULL); /* Must be after exit_files() */
Argh, I just realized that exit_files() is deferred to task work, so
this must be after exit_task_work().

I will send v3 in a few days, if there is no other comment.

Nam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help