[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091111.195612.117143665.davem@davemloft.net>
Date: Wed, 11 Nov 2009 19:56:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: steve@...gwyn.com, eric.dumazet@...il.com,
christine.caulfield@...glemail.com, hannes@...neseder.net,
adobriyan@...il.com, swhiteho@...hat.com, netdev@...r.kernel.org,
linux-decnet-users@...ts.sourceforge.net
Subject: Re: [PATCH 2/2] decnet: convert dndev_lock to spinlock
From: Stephen Hemminger <shemminger@...tta.com>
Date: Wed, 11 Nov 2009 09:40:36 -0800
> 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@...tta.com>
Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists