Web lists-archives.com

[PATCH 0/3] Three rhashtable improvements

These three patches have previously been posted, but at the end of a
set where some early patches were contentious.
These patches did not depend on the others, so I'm posting them
The second patch has been changed slightly to make use of the new
API that Paul McKenney provided to check is call_rcu() has been
called yet or not.



NeilBrown (3):
      rhashtable: use cmpxchg() in nested_table_alloc()
      rhashtable: don't hold lock on first table throughout insertion.
      rhashtable: rename rht_for_each*continue as *from.

 .clang-format              |    8 +++---
 include/linux/rhashtable.h |   53 +++++++++++++++------------------------
 lib/rhashtable.c           |   60 +++++++++++++++-----------------------------
 3 files changed, 45 insertions(+), 76 deletions(-)