diff options
author | 2013-12-09 15:19:53 -0800 | |
---|---|---|
committer | 2013-12-12 12:19:17 -0800 | |
commit | 36708b89e00951b004b4dd6c14181301e2e98354 (patch) | |
tree | 02a868b14e89182dd4a59fe66143bdc194803687 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Add comment on evaluate-once properties of rcu_assign_pointer(). (diff) | |
download | linux-dev-36708b89e00951b004b4dd6c14181301e2e98354.tar.xz linux-dev-36708b89e00951b004b4dd6c14181301e2e98354.zip |
bonding: Use RCU_INIT_POINTER() for better overhead and for sparse
Although rcu_assign_pointer() can be used to assign a constant
NULL pointer, doing so gets you an unnecessary memory barrier and
in some circumstances, sparse warnings. This commit therefore
changes the rcu_assign_pointer() of NULL in __bond_release_one() to
RCU_INIT_POINTER().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions