diff options
author | NeilBrown <[email protected]> | 2018-06-18 12:52:50 +1000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-06-22 13:43:27 +0900 |
commit | 0ad66449aa3cbaedbdeaf55bffce74084bb7e9f9 (patch) | |
tree | 32b444b2154c26c3936446dcc9d1d234521f23a5 /lib/test_overflow.c | |
parent | 5af68ef7333c8606bfe6e400cb962081518c3acb (diff) |
rhashtable: use cmpxchg() to protect ->future_tbl.
Rather than borrowing one of the bucket locks to
protect ->future_tbl updates, use cmpxchg().
This gives more freedom to change how bucket locking
is implemented.
Acked-by: Herbert Xu <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions