On Tue, Apr 25, 2017 at 01:23:56PM +0200, Florian Westphal wrote: > > What extra cost? > > The only change is that ht->nelems has to be right-shifted by one, > I don't think that warrants extra space in struct rhashtable, its > already way too large (I think we can reduce its size further).
I see at least one hole on 64-bit which means that you can fit it into struct rhashtable for free. 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