From: "Ted Unangst" Subject: Re: Faster _exit(2) for a faster userland: R.I.P the reaper To: "Claudio Jeker" Cc: dlg@openbsd.org, visa@openbsd.org, tech@openbsd.org, jan@openbsd.org, mpi@grenadille.net, ajacoutot@openbsd.org Date: Sat, 03 May 2025 02:08:35 -0400 On 2025-05-03, Claudio Jeker wrote: > I mentioned this to mpi@, his diff does not free threads until the process > exits and runs out of proc on any workload that uses many threads. > This just does not work, his diff is over agressive by removing the reaper > even for that one case.. I think that chunk can be pulled up a little in exit1, so that when one thread exits, it will delete any dead siblings. Need a P_ZOMBIE, or a pr_deadproc list. This seems like an old idea? Did I forgot why we rejected it?