From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: [PATCH 0/7] Assorted rhashtables cleanups. Date: Mon, 18 Jun 2018 12:52:50 +1000 Message-ID: <152929034948.23173.8671757672560065344.stgit@noble> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Thomas Graf , Herbert Xu , David Miller Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Following 7 patches are selections from a recent RFC series I posted that have all received suitable Acks. The most visible changes are that rhashtable-types.h is now preferred for inclusion in include/linux/*.h rather than rhashtable.h, and that the full hash is used - no bits a reserved for a NULLS pointer. Thanks, NeilBrown --- NeilBrown (7): rhashtable: silence RCU warning in rhashtable_test. rhashtable: split rhashtable.h rhashtable: remove nulls_base and related code. rhashtable: simplify INIT_RHT_NULLS_HEAD() rhashtable: simplify nested_table_alloc() and rht_bucket_nested_insert() rhashtable: use cmpxchg() to protect ->future_tbl. rhashtable: clean up dereference of ->future_tbl. MAINTAINERS | 2 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 include/linux/ipc.h | 2 include/linux/ipc_namespace.h | 2 include/linux/mroute_base.h | 2 include/linux/rhashtable-types.h | 137 +++++++++++++++++++++++ include/linux/rhashtable.h | 164 +--------------------------- include/net/inet_frag.h | 2 include/net/netfilter/nf_flow_table.h | 2 include/net/sctp/structs.h | 2 include/net/seg6.h | 2 include/net/seg6_hmac.h | 2 ipc/msg.c | 1 ipc/sem.c | 1 ipc/shm.c | 1 ipc/util.c | 1 lib/rhashtable.c | 58 +++------- lib/test_rhashtable.c | 8 + net/core/xdp.c | 4 - net/ipv4/inet_fragment.c | 1 net/ipv4/ipmr.c | 1 net/ipv4/ipmr_base.c | 1 net/ipv6/ip6mr.c | 1 net/ipv6/seg6.c | 1 net/ipv6/seg6_hmac.c | 1 net/netfilter/nf_tables_api.c | 1 net/sctp/input.c | 1 net/sctp/socket.c | 1 28 files changed, 191 insertions(+), 212 deletions(-) create mode 100644 include/linux/rhashtable-types.h -- Signature