commit | 47a31a6ffcca3b55149bccd5b99763e5eea60ac4 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Mon Nov 05 23:39:16 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Nov 07 04:08:58 2007 -0800 |
tree | de45b7c03799f16e717b9bf63b249bfe5f0f19a4 | |
parent | 286ab3d46058840d68e5d7d52e316c1f7e98c59f [diff] |
[IPV4]: Use the {DEFINE|REF}_PROTO_INUSE infrastructure Trivial patch to make "tcp,udp,udplite,raw" protocols uses the fast "inuse sockets" infrastructure Each protocol use then a static percpu var, instead of a dynamic one. This saves some ram and some cpu cycles Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>