Re: [PATCH] nohz: Remove update_ts_time_stat fromtick_nohz_start_idle

From: Frederic Weisbecker
Date: Thu Dec 01 2011 - 19:45:22 EST


On Thu, Dec 01, 2011 at 05:00:22PM +0100, Michal Hocko wrote:
> There is no reason to call update_ts_time_stat from tick_nohz_start_idle
> anymore (after e0e37c20 sched: Eliminate the ts->idle_lastupdate field)
> when we updated idle_lastupdate unconditionally.
>
> We haven't set idle_active yet and do not provide last_update_time so
> the whole call end up being just 2 wasted branches.
>
> Signed-off-by: Michal Hocko <mhocko@xxxxxxx>
> CC: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Reviewed-by Frederic Weisbecker <fweisbec@xxxxxxxxx>
--
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/