Subject: Re: [PATCH 04/10] AOE: use rcu to find network device

From: Ed Cashin <[email-masked]>
Date: Tue, 10 Nov 2009 15:01:49 -0500

On Tue Nov 10 13:07:37 EST 2009, [email-masked] 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