Linus Torvalds writes: (Summary) I actually
think it's probably ok in general, but maybe there really is some
special case that could have multiple wakeup sources and it needs to
see *this* particular one.
see *this* particular one.
(We could perhaps handle that case by checking "is the wait-queue empty now" instead, and just get rid of the re-arming, not break out of the loop immediately after the io_schedule()).
of the loop immediately after the io_schedule()).
Linus
Linus
Linus
see *this* particular one.
(We could perhaps handle that case by checking "is the wait-queue empty now" instead, and just get rid of the re-arming, not break out of the loop immediately after the io_schedule()).
of the loop immediately after the io_schedule()).
Linus
Linus
Linus