summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2009-11-11 08:40:36 +0100
committerDavid S. Miller <davem@davemloft.net>2009-11-12 04:22:18 +0100
commite5c140a340c4796054b0f6e9035e1faa7edfa6d6 (patch)
treeca150ab28a91eba36838ffc1519840fac705aa82 /virt
parentdecnet: add RTNL lock when reading address list (diff)
downloadlinux-e5c140a340c4796054b0f6e9035e1faa7edfa6d6.tar.xz
linux-e5c140a340c4796054b0f6e9035e1faa7edfa6d6.zip
decnet: convert dndev_lock to spinlock
There is no reason for this lock to be reader/writer since the reader only has lock held for a very brief period. The overhead of read_lock is more expensive than spinlock. Compile tested only, I am not a decnet user. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions