commit | 3a37f7275cda5ad25c1fe9be8f20c76c60d175fa | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun May 01 18:46:54 2016 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Jun 15 15:31:28 2016 -0700 |
tree | 89e64cf1b726c48daf24663dd15be033589c7dba | |
parent | 810ce8b5df1c8338065f2ae1d2ec08cc566fbb8b [diff] |
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>