Messages in this thread | | | From | (Eric W. Biederman) | Date | Fri, 07 Jun 2019 13:02:50 -0500 | Subject | Re: [PATCH 1/2] aio: simplify the usage of restore_saved_sigmask_unless() |
| |
Linus Torvalds <torvalds@linux-foundation.org> writes:
> On Fri, Jun 7, 2019 at 10:33 AM Linus Torvalds > <torvalds@linux-foundation.org> wrote: >> >> Are they actually nonrestartable? I think the current EINTR is just a mistake. > > Oh, I guess they are, because of the relative timeout thing that > shouldn't reset to the original value. > > And I don't think this is worth a ERESTAR_RESTARTTBLOCK.
Unless I am misreading things io_pgetevents isn't restartable either and ERESTARTNOHAND is a bug in that case.
Is the bug going the other way?
Eric
| |