diff options
author | Herbert Xu <[email protected]> | 2015-12-19 10:45:28 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-12-18 23:44:18 -0500 |
commit | 179ccc0a73641ffd24e44ff10a7bd494efe98d8d (patch) | |
tree | e0a36b2c0879b531ccd9f0e8707e59afbc474f7b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | e905eabc90a5b787d8708df164543ee295bea5f2 (diff) |
rhashtable: Kill harmless RCU warning in rhashtable_walk_init
The commit c6ff5268293ef98e48a99597e765ffc417e39fa5 ("rhashtable:
Fix walker list corruption") causes a suspicious RCU usage warning
because we no longer hold ht->mutex when we dereference ht->tbl.
However, this is a false positive because we now hold ht->lock
which also guarantees that ht->tbl won't disppear from under us.
This patch kills the warning by using rcu_dereference_protected.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions