[PATCH 0/8] Assorted rhashtable fixes and cleanups
From: NeilBrown
Date: Thu May 03 2018 - 23:54:46 EST
This series contains some bugfixes, mostly minor though one
is worthy of a stable backport I think - tagged with Fixes and Cc: stable.
Then there are improvements to walking, which have been discussed
to some degree already.
Finally a code simplification which I think is correct...
Thanks,
NeilBrown
---
NeilBrown (8):
rhashtable: silence RCU warning in rhashtable_test.
rhashtable: remove nulls_base and related code.
rhashtable: use cmpxchg() to protect ->future_tbl.
rhashtable: fix race in nested_table_alloc()
rhashtable: remove rhashtable_walk_peek()
rhashtable: further improve stability of rhashtable_walk
rhashtable: add rhashtable_walk_prev()
rhashtable: don't hold lock on first table throughout insertion.
include/linux/rhashtable.h | 61 +++----------
lib/rhashtable.c | 202 +++++++++++++++++++++-----------------------
lib/test_rhashtable.c | 8 +-
3 files changed, 113 insertions(+), 158 deletions(-)
--
Signature