[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8ffe0a1df67d13a45a413f40d00dd80a@coraid.com>
Date: Tue, 10 Nov 2009 15:01:49 -0500
From: Ed Cashin <ecashin@...aid.com>
To: shemminger@...tta.com, davem@...emloft.net, ecashin@...aid.com,
harvey.harrison@...il.com, bzolnier@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH 04/10] AOE: use rcu to find network device
On Tue Nov 10 13:07:37 EST 2009, shemminger@...tta.com wrote:
> This gets rid of another use of read_lock(&dev_base_lock) by using
> RCU. Also, it only increments the reference count of the device actually
> used rather than holding and releasing every device
>
> Compile tested only.
This function runs once a minute when the aoe driver is loaded,
if you'd like to test it a bit more.
It looks like there's no dev_put corresponding to the dev_hold
after the changes.
--
Ed
--
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