Hacker News new | ask | show | jobs
by avianlyric 1122 days ago
I think that’s the point. Currently doing that will potentially result in a deadlock.
1 comments

Well, only if the wait is for userspace or a remote resource, right? Regular disks are sometimes considered infallible (or at least, the IO will timeout eventually in the generic SCSI logic) and might be ok to wait on.

To generalize a bit, I think the problem is doing any sort of interruptible wait -- because we can no longer be interrupted. Uninterruptible waits aren't any different without signal delivery. I might be oversimplifying, though.