Re: [PATCH 7/9] rhashtable: Per bucket locks & deferred expansion/shrinking

From
Herbert Xu <herbert@gondor.apana.org.au>
Date
2015-01-21 05:24:17
Also in
netfilter-devel
Reply to
Paul E. McKenney, 2015-01-19
On Mon, Jan 19, 2015 at 01:01:21AM -0800, Paul E. McKenney wrote:
One unconventional way of handling this is to associate the scan with
a one-to-one resize operation.  This can be implemented to have the
effect of taking a snapshot of the table.
The problem is that in general (not for netfilter, but certainly
other rhashtable users such as netlink) dumps/walks can be started
by ordinary users and I don't think we can afford creating a
snapshot for each one, or can we?

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Thread (46 messages) 46 messages, 7 authors, last reply 2015-01-21
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