Re: [PATCH 1/1] fs: pipe: wakeup readers everytime new data written is to pipe

From: Sandeep Patil
Date: Fri Jul 30 2021 - 15:11:47 EST


On 7/29/21 11:01 PM, Linus Torvalds wrote:
On Thu, Jul 29, 2021 at 3:27 PM Sandeep Patil <sspatil@xxxxxxxxxxx> wrote:

So restore the old behavior to wakeup all readers if any new data is
written to the pipe.

Ah-hahh.

I've had this slightly smaller patch waiting for the better part of a year:

https://lore.kernel.org/lkml/CAHk-=wgjR7Nd4CyDoi3SH9kPJp_Td9S-hhFJZMqvp6GS1Ww8eg@xxxxxxxxxxxxxx/

waiting to see if some broken program actually depends on the bogus
epollet semantics.

Can you verify that that patch fixes the realm-core brokenness too?

Yes, your patch fixes all apps on Android I can test that include this library.

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 :(.

- ssp