lkml.org 
[lkml]   [2011]   [Dec]   [2]   [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
* Michal Hocko <mhocko@suse.cz> [2011-12-01 17:00:22]:

> 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: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>



\
 
 \ /
  Last update: 2011-12-02 11:01    [from the cache]
©2003-2011 Jasper Spaans