/openbmc/linux/net/bluetooth/cmtp/ |
H A D | sock.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/atm/ |
H A D | pvc.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | svc.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/bluetooth/hidp/ |
H A D | sock.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/bluetooth/bnep/ |
H A D | sock.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/net/ |
H A D | protocol.h | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | inet_common.h | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ipv6.h | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/appletalk/ |
H A D | ddp.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/x25/ |
H A D | af_x25.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/netrom/ |
H A D | af_netrom.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/llc/ |
H A D | af_llc.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/bluetooth/rfcomm/ |
H A D | sock.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/dccp/ |
H A D | proto.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/bluetooth/ |
H A D | hci_sock.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | sco.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/linux/ |
H A D | net.h | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ax25/ |
H A D | af_ax25.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/sctp/ |
H A D | ipv6.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | protocol.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/sunrpc/ |
H A D | svcsock.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/key/ |
H A D | af_key.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ipv6/ |
H A D | af_inet6.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ipv4/ |
H A D | af_inet.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/netlink/ |
H A D | af_netlink.c | diff 90ddc4f0470427df306f308ad03db6b6b21644b8 Thu Dec 22 14:49:22 CST 2005 Eric Dumazet <dada1@cosmosbay.com> [NET]: move struct proto_ops to const
I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least)
This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing.
This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly)
I made a global stubstitute to change all existing occurences to make them const.
This should reduce the possibility of false sharing on SMP, and speedup some socket system calls.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|