lkml.org 
[lkml]   [2011]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] nohz: Remove update_ts_time_stat from tick_nohz_start_idle
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@suse.cz>
> CC: Arjan van de Ven <arjan@linux.intel.com>
> CC: Thomas Gleixner <tglx@linutronix.de>

Reviewed-by Frederic Weisbecker <fweisbec@gmail.com>


\
 
 \ /
  Last update: 2011-12-02 01:47    [W:0.052 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site