[lkml]   [2011]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] move get_idle_time , get_iowait_time to sched/core.c
On 12/12/2011 01:31 PM, Glauber Costa wrote:
> In commit a25cac5198 we changed the way we calculate idle and iowait
> for /proc/stat displaying purposes. However, this same information
> is also displayed in /proc/uptime. These values can now be inconsistent.
> So I propose we draw both idle values from the same place. In theory,
> we only need to do it for get_idle_time(). get_iowait_time() is moved
> as well for consistency only.
> I moved the functions to sched/core.c so it can live among its other
> friends like nr_iowait(), etc.

You guys have any opinions on this ?
I see that Michal got another fix for this in stat.c already, so I'd
have to respin this one anyway. Just let me know if this is wanted


 \ /
  Last update: 2011-12-23 11:11    [W:0.065 / U:3.608 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site