Linus Torvalds <torva...@linux-foundation.org> writes: > On Fri, Jun 7, 2019 at 10:33 AM Linus Torvalds > <torva...@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