Re: [PATCH] sched: fix sched_feat for !SCHED_DEBUG builds

From: Peter Zijlstra
Date: Tue Nov 07 2017 - 14:05:16 EST


On Tue, Nov 07, 2017 at 04:06:58PM +0000, Patrick Bellasi wrote:
> For this mechanism to properly work it's required for the compiler to
> have full access, from each translation unit, to whatever is the value
> defined by the sched_feat macro.

> Statistics on the reported completion time:
>
> count mean std min 99% max
> v4.14-rc8 30.0 15.7831 0.176032 15.442 16.01226 16.014
> v4.14-rc8+patch 30.0 15.5033 0.189681 15.232 15.93938 15.962
>
> show a 1.8% speedup on average completion time and 0.5% speedup in the
> 99 percentile.
>

Ack