[NET]: Hashed spinlocks in net/ipv4/route.c
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 5 Jul 2005 21:55:24 +0000 (14:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 21:55:24 +0000 (14:55 -0700)
commit22c047ccbc68fa8f3fa57f0e8f906479a062c426
tree351735ba39f845a67847d72f84087df724c95046
parentf0e36f8cee8101604378085171c980d9cc71d779
[NET]: Hashed spinlocks in net/ipv4/route.c

- Locking abstraction
- Spinlocks moved out of rt hash table : Less memory (50%) used by rt
  hash table. it's a win even on UP.
- Sizing of spinlocks table depends on NR_CPUS

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c