On Wed, Dec 12, 2018 at 05:41:29PM +1100, NeilBrown wrote: > > So you would substantially slow down the rhashtable_walk_start() step.
This whole thing is meant for uses such as /proc and netlink enumeration. Speed is definitely not a prerogative of these iterators. For that matter, if speed was an issue then surely you would not drop out of the RCU read lock at all while iterating. It sounds to me like you're trying to use this interface for something that it's simply not designed to do. Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt