Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > If I were to actually commit it, the "split into two waitqueues" would > be a separate patch from the "use wait_event_interruptible_exclusive() > and add "wake_next_reader/writer logic", but for testing purposes the > unified patch was simpler, and your forward port looks good to me. I looked at splitting the waitqueue in to two, but it makes poll tricky. David