On Mon 2014-06-09 10:54:17, Viresh Kumar wrote: > 'copy_prev_load' was recently added by commit: 18b46ab (cpufreq: governor: Be > friendly towards latency-sensitive bursty workloads). > > It actually is a bit redundant as we also have 'prev_load' which can store any > integer value and can be used instead of 'copy_prev_load' by setting it to > zero > when we don't want to use previous load. > > So, drop 'copy_prev_load' and use 'prev_load' instead. > > Update comments as well to make it more clear. > > There is another change here which was probably missed by Srivatsa during the > last version of updates he made. The unlikely in the 'if' statement was > covering > only half of the condition and the whole line should actually come under it. > > Also checkpatch is made more silent as it was reporting this (--strict > option): > > CHECK: Alignment should match open parenthesis > + if (unlikely(wall_time > (2 * sampling_rate) && > + j_cdbs->prev_load)) { > > Signed-off-by: Viresh Kumar <viresh.ku...@linaro.org>
Acked-by: Pavel Machek <pa...@ucw.cz> -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/