Re: [PATCH v4 10/10] sched/fair: Provide idle search schedstats

From: Steven Sistare
Date: Mon Jan 14 2019 - 12:05:05 EST


On 12/24/2018 7:25 AM, Rick Lindsley wrote:
> On 12/06/2018 01:28 PM, Steve Sistare wrote:
>> Add schedstats to measure the effectiveness of searching for idle CPUs
>> and stealing tasks. This is a temporary patch intended for use during
>> development only. SCHEDSTAT_VERSION is bumped to 16, and the following
>> fields are added to the per-CPU statistics of /proc/schedstat:
>
> Why only temporary? It would seem that this might be useful information in the future too, for other developers with either new code or new use cases.
>
> Rick

Yes, they could be useful. I suspect it would take a while to reach consensus
on new field definition, and whether their usefulness outweighs the downside
of breaking out of tree tools that assume version 15.

- Steve