Re: [PATCH v4 1/3] sched: Reduce overestimating rq->avg_idle
From: Srikar Dronamraju
Date: Mon Sep 02 2013 - 02:36:27 EST
* Jason Low <jason.low2@xxxxxx> [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.low2@xxxxxx>
> Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
Reviewed-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>
> ---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/