On Thu, 14 Jun 2012 06:37:38 -0600, Tim Gardner wrote: > From: Andre Przywara <[email protected]> > > On high CPU load the accumulating values in the running_avg_cap > register are very low (below 10), so averaging them too early leads > to unnecessary poor output resolution. Since we pretend to output > micro-Watt we better keep all the bits we have as long as possible. > > Signed-off-by: Andre Przywara <[email protected]> > Signed-off-by: Andreas Herrmann <[email protected]> > Acked-by: Guenter Roeck <[email protected]> > Signed-off-by: Jean Delvare <[email protected]> > (cherry picked from commit 941a956b0e387b21f385f486c34ef67576775cfc) > > Signed-off-by: Tim Gardner <[email protected]> > --- > drivers/hwmon/fam15h_power.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > (...)
No objection. 3.0.x could benefit from it as well, BTW. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
