lkml.org 
[lkml]   [1998]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: counters that wrap around
On Tue, Aug 25, 1998 at 05:54:27PM -0500, Mitchell Blank Jr wrote:

> Since it's so cheap, is there any real reason to replace all those
> counters with u64's and add support for printing them?

Many counters are 32-bits, and IMO that's fine.

I have applications that read many hundreds of 32-bit counters every
few minutes, and the overflow is trivially handled there.

In the kernel, there is perhaps the odd place a 64-bit counter might
be necessary, but certainly, most counters don't need to be.



-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.281 / U:0.164 seconds]
©2003-2011 Jasper Spaans. Advertise on this site