Re: [PATCH 1/1] fs: pipe: wakeup readers everytime new data written is to pipe
From: Linus Torvalds
Date: Fri Jul 30 2021 - 15:24:25 EST
On Fri, Jul 30, 2021 at 12:11 PM Sandeep Patil <sspatil@xxxxxxxxxxx> wrote:
> Yes, your patch fixes all apps on Android I can test that include this
Ok, thanks for checking.
> fwiw, the library seems to have been fixed. However, I am not sure
> how long it will be for all apps to take that update :(.
I wonder if I could make the wakeup logic do this only for the epollet case.
I'll have to think about it, but maybe I'll just apply that simple
patch. I dislike the pointless wakeups, and as long as the only case I
knew of was only a test of broken behavior, it was fine. But now that
you've reported actual application breakage, this is in the "real
regression" category, and so I'll fix it one way or the other.
And on the other hand I also have a slight preference towards your
patch simply because you did the work of finding this out, so you
should get the credit.
I'll mull it over a bit more, but whatever I'll do I'll do before rc4
and mark it for stable.
Thanks for testing,