[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101108.134351.229750082.davem@davemloft.net>
Date: Mon, 08 Nov 2010 13:43:51 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: steve@...gwyn.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] decnet: RCU conversion and get rid of dev_base_lock
From: Steven Whitehouse <steve@...gwyn.com>
Date: Fri, 29 Oct 2010 14:54:39 +0100
> Hi,
>
> On Fri, 2010-10-29 at 15:09 +0200, Eric Dumazet wrote:
>> While tracking dev_base_lock users, I found decnet used it in
>> dnet_select_source(), but for a wrong purpose:
>>
>> Writers only hold RTNL, not dev_base_lock, so readers must use RCU if
>> they cannot use RTNL.
>>
>> Adds an rcu_head in struct dn_ifaddr and handle proper RCU management.
>>
>> Adds __rcu annotation in dn_route as well.
>>
>> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
>
> I've not tested this, but I've read through it all and it seems good to
> me.
>
> Acked-by: Steven Whitehouse <swhiteho@...hat.com>
Applied.
--
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