Re: [NET] 64 bit byte counter for 2.6.3

From: Stephen Hemminger
Date: Thu Feb 19 2004 - 12:28:36 EST


On Thu, 19 Feb 2004 10:14:55 +0200
Meelis Roos <mroos@xxxxxxxx> wrote:

> SH> * Network changes gets discussed on netdev@xxxxxxxxxxx
> SH> * 64 bit values are not atomic on 32 bit architectures
>
> Agree.
>
> SH> * wider values in /proc output risks breaking apps like ifconfig and netstat
>
> This is probably not a problem here, ifconfig etc have been working fine
> with non-wrapping numbers on sparc64 and other 64-bit machines.

Looking at current net-tools source, they are doing sscanf into a long-long-unsigned
value already.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/