diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-05-01 18:46:54 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-15 15:31:28 -0700 |
commit | 3a37f7275cda5ad25c1fe9be8f20c76c60d175fa (patch) | |
tree | 89e64cf1b726c48daf24663dd15be033589c7dba /init | |
parent | 810ce8b5df1c8338065f2ae1d2ec08cc566fbb8b (diff) | |
download | linux-3a37f7275cda5ad25c1fe9be8f20c76c60d175fa.tar.bz2 |
rcu: No ordering for rcu_assign_pointer() of NULL
This commit does a compile-time check for rcu_assign_pointer() of NULL,
and uses WRITE_ONCE() rather than smp_store_release() in that case.
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions