lkml.org 
[lkml]   [2002]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: jiffies rollover, uptime etc.
Date
From
> I wonder, is it more expensive to write all drivers to handle the
> wraps than to take the long long increment hit? The increment is

Total cost of handling it right - 0 clocks. Its simply about maths order
and sign

> Maybe the non-atomicity of the long long increment is the problem?

A big one yes.

> Does this problem still exist on 64-bit machines?

Not in the same way - you'll need a lot of years before you worry about it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.113 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site