Linus Torvalds writes: (Summary) On Thu, May 24, 2018 at 10:23 AM Davidlohr Bueso <dave@stgolabs.net>
I'm not sure that matters, but right now, if you have nelem_hint set and a
min_size, the min_size is honored (if you have just min_size it's already
ignored because the rhashtable always starts with HASH_DEFAULT_SIZE). The docs say
that "min_size" is the minimum size for *shrinking* not for initializing,
so I guess it's debatable.
so I guess it's debatable.
Also, wouldn't it make sense to make this all be a while loop? A comment to that effect would be good, perhaps.
would be good, perhaps.
Linus
Linus
Linus
so I guess it's debatable.
Also, wouldn't it make sense to make this all be a while loop? A comment to that effect would be good, perhaps.
would be good, perhaps.
Linus
Linus
Linus