]> git.baikalelectronics.ru Git - kernel.git/commit
net: snmp mib cleanup
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 18 Mar 2010 20:36:06 +0000 (20:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2010 01:34:16 +0000 (18:34 -0700)
commit13901c1ec74015d1fd8db0bd88021dbce79cc48c
tree41af80ea4dcc89cc049bd36cbd882916a6469263
parent8b1c3d1426ab5430089256297c82eb3b95ee98eb
net: snmp mib cleanup

There is no point to align or pad mibs to cache lines, they are per cpu
allocated with a 8 bytes alignment anyway.
This wastes space for no gain. This patch removes __SNMP_MIB_ALIGN__

Since SNMP mibs contain "unsigned long" fields only, we can relax the
allocation alignment from "unsigned long long" to "unsigned long"

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
include/net/snmp.h
net/dccp/dccp.h
net/ipv4/af_inet.c