Re: [PATCH 0/2] pipe: Fixes [ver #2]

From: David Howells
Date: Thu Dec 19 2019 - 02:56:46 EST


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