diff options
author | Thomas Graf <tgraf@suug.ch> | 2015-01-03 01:00:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-03 22:32:56 +0300 |
commit | 88d6ed15acff1cb44b1d1f3c0a393b7f7744957a (patch) | |
tree | ee25a48f8ab11d06c062480c89ba1e96c8113e57 /include/asm-generic/fb.h | |
parent | a4b18cda4c2676a4b4b59622b2e0394dc153e00b (diff) | |
download | linux-88d6ed15acff1cb44b1d1f3c0a393b7f7744957a.tar.xz |
rhashtable: Convert bucket iterators to take table and index
This patch is in preparation to introduce per bucket spinlocks. It
extends all iterator macros to take the bucket table and bucket
index. It also introduces a new rht_dereference_bucket() to
handle protected accesses to buckets.
It introduces a barrier() to the RCU iterators to the prevent
the compiler from caching the first element.
The lockdep verifier is introduced as stub which always succeeds
and properly implement in the next patch when the locks are
introduced.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-generic/fb.h')
0 files changed, 0 insertions, 0 deletions