diff options
author | Michal Hocko <mhocko@suse.cz> | 2011-07-08 17:48:24 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-09-29 06:38:23 +0200 |
commit | e5177ec77d503636d0b609671c9d408b981add17 (patch) | |
tree | d6a8e7fa1790fe04caa2d6afeabd8f09f95b5555 /samples | |
parent | rcu: Simplify quiescent-state accounting (diff) | |
download | linux-e5177ec77d503636d0b609671c9d408b981add17.tar.xz linux-e5177ec77d503636d0b609671c9d408b981add17.zip |
rcu: Not necessary to pass rcu_read_lock_held() to rcu_dereference_protected()
Since ca5ecddf (rcu: define __rcu address space modifier for sparse)
rcu_dereference_check() use rcu_read_lock_held() as a part of condition
automatically. Therefore, callers of rcu_dereference_check() no longer
need to pass rcu_read_lock_held() to rcu_dereference_check().
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions