]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita48cd07e63c6813e04d8a296ab7d28b49238cb24
tree351735ba39f845a67847d72f84087df724c95046
parenta461aacbb23f476e0a227b925a7da79f923f534f
[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