Thread (23 messages) flat view 23 messages, 4 authors, 2015-03-24

Re: [v3 PATCH 7/9] rhashtable: Add multiple rehash support

From: Thomas Graf <tgraf@suug.ch>
Date: 2015-03-23 16:37:11

On 03/24/15 at 12:50am, Herbert Xu wrote:
This patch adds the missing bits to allow multiple rehashes.  The
read-side as well as remove already handle this correctly.  So it's
only the rehasher and insertion that need modification to handle
this.

Note that this patch doesn't actually enable it so for now rehashing
is still only performed by the worker thread.

This patch also disables the explicit expand/shrink interface because
the table is meant to expand and shrink automatically, and continuing
to export these interfaces unnecessarily complicates the life of the
rehasher since the rehash process is now composed of two parts.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Thomas Graf <tgraf@suug.ch>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help