On 10/15, Jens Axboe wrote: > > We already get the ti_work passed in arch_do_signal(), define > TIF_NOTIFY_SIGNAL and take the appropriate action in the signal handling > based on _TIF_NOTIFY_SIGNAL and _TIF_SIGPENDING being set. > > Signed-off-by: Jens Axboe <axboe@xxxxxxxxx> Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>