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

From: Linus Torvalds
Date: Mon Oct 28 2019 - 08:22:36 EST


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?

Linus