Re: [PATCH v3 2/2] kernel: rerun task_work while freezing in get_signal()

From: Oleg Nesterov
Date: Wed Jul 10 2024 - 15:20:27 EST


I have already acked this patch, so I am sorry for the noise, but

On 07/10, Pavel Begunkov wrote:
>
> Run task_works in the freezer path. Keep the patch small and simple
> so it can be easily back ported,

Agreed.

I tried to argue with v1 which added the additional task_work_run()
into get_signal(), but I failed to suggest a "better" change which
doesn't uglify/complicate get_signal/backporting.

Oleg.