Re: [PATCH 3/5] kernel: add support for TIF_NOTIFY_SIGNAL
From: Oleg Nesterov
Date: Thu Oct 15 2020 - 10:44:30 EST
On 10/15, Jens Axboe wrote:
>
> This adds TIF_NOTIFY_SIGNAL handling in the generic code, which if set,
> will return true if signal_pending() is used in a wait loop. That causes
> an exit of the loop so that notify_signal tracehooks can be run. If the
> wait loop is currently inside a system call, the system call is restarted
> once task_work has been processed.
>
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
So I strongly disagree with CONFIG_GENERIC_ENTRY. Otherwise,
Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>