[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150104.234309.1238789079887665107.davem@davemloft.net>
Date: Sun, 04 Jan 2015 23:43:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tgraf@...g.ch
Cc: ying.xue@...driver.com, netdev@...r.kernel.org,
jon.maloy@...csson.com, Paul.Gortmaker@...driver.com,
erik.hugne@...csson.com, tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net-next] tipc: convert tipc reference table to use
generic rhashtable
From: Thomas Graf <tgraf@...g.ch>
Date: Sun, 4 Jan 2015 09:53:20 +0000
> As a further optimization, you could add a new atomic function
> rhashtable_lookup_and_insert() which holds the per bucket lock during
> lookup and use that instead. This would allow you to get rid of the
> mutex alltogether.
This would definitely be a better implementation in my opinion.
--
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