Re: [PATCH] pipe: wakeup writer only if pipe buffer is at least half empty

From: Konstantin Khlebnikov
Date: Mon Oct 28 2019 - 08:30:21 EST

On 28/10/2019 15.22, Linus Torvalds wrote:
On Mon, Oct 28, 2019 at 10:09 AM Konstantin Khlebnikov
<khlebnikov@xxxxxxxxxxxxxx> wrote:

Ok. This breakage scenario is doubtful but such weird software really might exist.

What about making this thing tunable via fcntl like size of pipe buffer?

Let's see if we can do it without a tunable and maybe nobody notices?

But I'd like you to do it on top of David's pipe patches, so that we
don't have unnecessary churn and conflicts next merge window in this
area. Ok?

Sure. This change is trivial in comparison to his patchset.