lkml.org 
[lkml]   [2008]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.25-rc3] cpuidle: fix cpuidle time and usage overflow

* Yi Yang <yi.y.yang@intel.com> wrote:

> cpuidle C-state sysfs node time and usage are very easy to overflow
> because they are all of unsigned int type, time will overflow within
> about two hours, usage will take longer time to overflow, but they are
> increasing for ever.
>
> This patch will convert them to unsigned long long.

what happens if such an overflow happens - any particular regression or
other misbehavior, or just funny looking stats in sysfs?

Ingo


\
 
 \ /
  Last update: 2008-02-25 11:19    [from the cache]
©2003-2011 Jasper Spaans