* Jason Low <jason.l...@hp.com> [2013-08-29 13:05:34]:

> When updating avg_idle, if the delta exceeds some max value, then avg_idle
> gets set to the max, regardless of what the previous avg was. This can cause
> avg_idle to often be overestimated.
> 
> This patch modifies the way we update avg_idle by always updating it with the
> function call to update_avg() first. Then, if avg_idle exceeds the max, we set
> it to the max.
> 
> Signed-off-by: Jason Low <jason.l...@hp.com>
> Reviewed-by: Rik van Riel <r...@redhat.com>

Reviewed-by: Srikar Dronamraju <sri...@linux.vnet.ibm.com>

> ---

--
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/

Reply via email to