Thread (33 messages) 33 messages, 4 authors, 2018-05-31

Re: [PATCH 2/6] lib/rhashtable: guarantee initial hashtable allocation

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2018-05-29 18:15:19
Also in: lkml

On Tue, May 29, 2018 at 10:55:13AM -0700, Davidlohr Bueso wrote:
On Wed, 30 May 2018, Herbert Xu wrote:
quoted
On Tue, May 29, 2018 at 09:42:31AM -0700, Davidlohr Bueso wrote:
quoted
For the sake of simplicity, Linus suggested directly using HASH_MIN_SIZE
such that we have a single fallback.
Where did he suggest that?
https://lkml.org/lkml/2018/5/24/1265
Well I think we should respect min_size.  rhashtable users may
fail at insertion time if the table is too small.

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help