Re: [PATCH 1/2] rhashtable: Introduce rhashtable_walk_*

From
Thomas Graf <tgraf@suug.ch>
Date
2015-01-27 11:16:08
Also in
netfilter-devel
Reply to
Herbert Xu, 2015-01-27
On 01/27/15 at 09:24pm, Herbert Xu wrote:
The point is that for netfilter as it stands it makes no sense
to go lockless because its modus operandi is to hold a single
lock over everything, including walking/dumping.
No objection. I have a patch prepared which allows the user to
provide ht->mutex himself so nfset can provide its own existing
mutex to rhashtable and lock out the resizes from inserts,
removals and dump iterations automatically That would restore the
old behaviour of the nfset API without major surgery.

I was just waiting on your walker as you requested a hold off.
Thread (79 messages) 79 messages, 6 authors, last reply 2015-02-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help