Searched hist:b824478b2145be78ac19e1cf44e2b9036c7a9608 (Results 1 – 3 of 3) sorted by relevance
/linux/lib/ |
H A D | test_rhashtable.c | diff b824478b2145be78ac19e1cf44e2b9036c7a9608 Mon Mar 23 14:50:26 CET 2015 Herbert Xu <herbert@gondor.apana.org.au> rhashtable: Add multiple rehash support
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> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | rhashtable.c | diff b824478b2145be78ac19e1cf44e2b9036c7a9608 Mon Mar 23 14:50:26 CET 2015 Herbert Xu <herbert@gondor.apana.org.au> rhashtable: Add multiple rehash support
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> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/include/linux/ |
H A D | rhashtable.h | diff b824478b2145be78ac19e1cf44e2b9036c7a9608 Mon Mar 23 14:50:26 CET 2015 Herbert Xu <herbert@gondor.apana.org.au> rhashtable: Add multiple rehash support
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> Signed-off-by: David S. Miller <davem@davemloft.net>
|