[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150311.163728.900643743533456739.davem@davemloft.net>
Date: Wed, 11 Mar 2015 16:37:28 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: tgraf@...g.ch, netdev@...r.kernel.org, josh@...htriplett.org,
paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH v2] rhashtable: Add arbitrary rehash function
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Wed, 11 Mar 2015 09:43:48 +1100
> This patch adds a rehash function that supports the use of any
> hash function for the new table. This is needed to support changing
> the random seed value during the lifetime of the hash table.
>
> However for now the random seed value is still constant and the
> rehash function is simply used to replace the existing expand/shrink
> functions.
>
> Signed-off-by: Herbert Xu <herbert.xu@...hat.com>
I applied both patches, but for this one I had to tack on
a removal of ASSERT_BUCKET_LOCK(), debug_dump_table(), and
debug_dump_buckets() as they are no longer used.
Please watch the compiler warning output when making changes,
thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists