| To: | kuznet@xxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH]snmp6 64-bit counter support in proc.c |
| From: | Krishna Kumar <kumarkr@xxxxxxxxxx> |
| Date: | Thu, 22 Jan 2004 13:18:49 -0800 |
| Cc: | davem@xxxxxxxxxx (David S. Miller), kuznet@xxxxxxxxxxxxx, mashirle@xxxxxxxxxx, netdev@xxxxxxxxxxx, netdev-bounce@xxxxxxxxxxx, Shirley Ma <xma@xxxxxxxxxx> (Shirley Ma) |
| Sender: | netdev-bounce@xxxxxxxxxxx |
|
Alexei,
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]snmp6 64-bit counter support in proc.c, David S. Miller |
|---|---|
| Next by Date: | [update] 2.6.2-rc1 - Realtek 8169 patches, Francois Romieu |
| Previous by Thread: | Re: [PATCH]snmp6 64-bit counter support in proc.c, Shirley Ma |
| Next by Thread: | Re: [PATCH]snmp6 64-bit counter support in proc.c, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |