From: Shlomo Pongratz <[email protected]>
Date: Thu, 12 Jul 2012 20:13:28 +0000

> The RCU and reference count protect the individual entries in the hash.
> The R/W lock protects the hash table itself. e.g. deleting the hash table 
> itself, or in the future re-sizing it.

You don't need a R/W lock for that, we have RCU hash tables that get resized
dynamically and the lookup still only needs pure RCU protection.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to