[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250319184119.GE26879@redhat.com>
Date: Wed, 19 Mar 2025 19:41:20 +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] exit: combine work under lock in
synchronize_group_exit() and coredump_task_exit()
On 03/19, Mateusz Guzik wrote:
>
> This happens to test to for coredumping prior to handling kcov and
> kmsan, which afaics is harmless.
>
> I however was not comfortable lifting dumping prior to it, so it still
> happens after.
Well, I'd really prefer to move synchronize_group_exit(tsk, code) down,
after kmsan_task_exit() for the start.
Then the patch and resulting code will be simpler, coredump_task_exit()
can be even folded into synchronize_group_exit().
Oleg.
Powered by blists - more mailing lists