Re: [RFC PATCH] sched/fair: call cpufreq hook in additional paths
From: Rafael J. Wysocki
Date: Thu Mar 31 2016 - 07:50:30 EST
On Thu, Mar 31, 2016 at 11:14 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Thu, Mar 31, 2016 at 09:59:51AM +0200, Peter Zijlstra wrote:
>> > - passing an argument into attach_entity_load_avg() to indicate
>> > whether calling the cpufreq hook is necessary
>> > Both of these are ugly in their own way but would avoid a runtime
>> > cost. Opinions welcome.
>> Lemme see what this would look like while I throw the below into the bit
> OK, so the below looks a lot more sane;
> and has the surprising benefit of actually shrinking the text size..
> 43675 1226 24 44925 af7d defconfig-build/kernel/sched/fair.o.base
> 43723 1226 24 44973 afad defconfig-build/kernel/sched/fair.o.patch
> 43595 1226 24 44845 af2d defconfig-build/kernel/sched/fair.o.patch+