[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150130163621.GA5807@casper.infradead.org>
Date: Fri, 30 Jan 2015 16:36:21 +0000
From: Thomas Graf <tgraf@...g.ch>
To: Patrick McHardy <kaber@...sh.net>
Cc: herbert@...dor.apana.org.au, davem@...emloft.net,
David.Laight@...LAB.COM, ying.xue@...driver.com,
paulmck@...ux.vnet.ibm.com, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org
Subject: Re: [PATCH 1/9] rhashtable: simplify rhashtable_remove()
On 01/30/15 at 07:46am, Patrick McHardy wrote:
> Remove some duplicated code by moving the restart label up a few
> lines. Also use rcu_access_pointer() for the pointer comparison
> instead of rht_dereference_rcu().
>
> Signed-off-by: Patrick McHardy <kaber@...sh.net>
BTW, everything except the rcu_access_pointer() optimization is
also covered in the "rhashtable fixes" series I posted.
--
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