diff options
| author | 2019-05-28 15:02:31 +0800 | |
|---|---|---|
| committer | 2019-05-29 13:27:08 -0700 | |
| commit | 279758f8001f0014b15656a4ef130a20852f6df6 (patch) | |
| tree | 0a3fe4267433d9b51940e04ad68ea2f7b85d03a1 /include/uapi/linux/android | |
| parent | net: stmmac: use dev_info() before netdev is registered (diff) | |
rhashtable: Add rht_ptr_rcu and improve rht_ptr
This patch moves common code between rht_ptr and rht_ptr_exclusive
into __rht_ptr. It also adds a new helper rht_ptr_rcu exclusively
for the RCU case. This way rht_ptr becomes a lock-only construct
so we can use the lighter rcu_dereference_protected primitive.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/android')
0 files changed, 0 insertions, 0 deletions
