Re: [PATCH 1/2] aio: simplify the usage of restore_saved_sigmask_unless()

From: Linus Torvalds
Date: Fri Jun 07 2019 - 13:38:34 EST


On Fri, Jun 7, 2019 at 3:32 AM Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> The only complication is that non-restartable io_getevents() and
> io_getevents_time32() have to translate ERESTARTNOHAND into EINTR.

Are they actually nonrestartable? I think the current EINTR is just a mistake.

Linus