Re: [PATCH net-next v2 1/3] af_unix: Schedule the garbage collector at task exit
Nam Cao <[email protected]>
| Newsgroups | dev.linux.lists.linux-rt-devel,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
Nam Cao <[email protected]> writes: > @@ -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