Re: [PATCH] perf bench sched pipe: fix enforced blocking reads in worker_thread
From: Namhyung Kim
Date: Mon Mar 24 2025 - 12:36:13 EST
On Sun, 23 Mar 2025 15:01:01 +0100, Dirk Gouders wrote:
> The function worker_thread() is programmed in a way that roughly
> doubles the number of expectable context switches, because it enforces
> blocking reads:
>
> Performance counter stats for 'perf bench sched pipe':
>
> 2,000,004 context-switches
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung