[lkml]   [1998]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean