| To: | xma@xxxxxxxxxx (Shirley Ma) |
|---|---|
| Subject: | Re: [PATCH]snmp6 64-bit counter support in proc.c |
| From: | kuznet@xxxxxxxxxxxxx |
| Date: | Thu, 22 Jan 2004 21:26:51 +0300 (MSK) |
| Cc: | davem@xxxxxxxxxx (David S. Miller), mashirle@xxxxxxxxxx, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <OF1837C6DA.A9CB8829-ON87256E22.006C142B@xxxxxxxxxx> from "Shirley Ma" at ñÎ× 21, 2004 11:45:30 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hello! > Did you hear different voices? Here is a little warning. It will give corrupt values on 32 bit archs when update with 32 bit overflow happens while value is folded. To do 64 bit arithmetics you need either to serialize reader wrt writer or to do some funny tricks with detecting overflows while reading and special sequence of operations at update with proper barriers, which will be reflected in performance anyway. Essentially, this haemorhoids is the reason why they stayed 32 bit. Alexey |
| Previous by Date: | Re: [PATCH 3/6][8021q][2.4] Use VLAN tag set functionality in 8021q module, David S. Miller |
|---|---|
| Next by Date: | [PATCH] kill ancient compat cruft from acenic, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH]snmp6 64-bit counter support in proc.c, David S. Miller |
| Next by Thread: | Re: [PATCH]snmp6 64-bit counter support in proc.c, Shirley Ma |
| Indexes: | [Date] [Thread] [Top] [All Lists] |