Re: [pipe] 566d136289: stress-ng.tee.ops_per_sec -84.7% regression

From: Tetsuo Handa
Date: Thu Jun 18 2020 - 01:18:12 EST


On 2020/06/18 9:51, kernel test robot wrote:
> FYI, we noticed a -84.7% regression of stress-ng.tee.ops_per_sec due to commit:
>
>
> commit: 566d136289dc57816ac290de87a9a0f7d9bd3cbb ("pipe: Fix pipe_full() test in opipe_prep().")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

This would be because the test case shows higher performance if the pipe writer does busy wait.
This commit fixed an unkillable busy wait bug when the pipe reader does not try to read.

> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <rong.a.chen@xxxxxxxxx>

We can't fix the issue. ;-)