Re: [PATCH v3] exit: combine work under lock in synchronize_group_exit() and coredump_task_exit()

From: Mateusz Guzik
Date: Tue Apr 01 2025 - 09:05:29 EST


I think this fell through the cracks. Can you pick it up? Should I
prod someone else?

thanks

On Wed, Mar 19, 2025 at 9:11 PM Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> On 03/19, Mateusz Guzik wrote:
> >
> > This reduces single-threaded overhead as it avoids one lock+irq trip on
> > exit.
> >
> > It also improves scalability of spawning and killing threads within one
> > process (just shy of 5% when doing it on 24 cores on my test jig).
> >
> > Both routines are moved below kcov and kmsan exit, which should be
> > harmless.
> >
> > Signed-off-by: Mateusz Guzik <mjguzik@xxxxxxxxx>
>
> Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>
>


--
Mateusz Guzik <mjguzik gmail.com>