[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250319201100.GH26879@redhat.com>
Date: Wed, 19 Mar 2025 21:11:01 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Mateusz Guzik <mjguzik@...il.com>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] exit: combine work under lock in
synchronize_group_exit() and coredump_task_exit()
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@...il.com>
Reviewed-by: Oleg Nesterov <oleg@...hat.com>
Powered by blists - more mailing lists