| commit | 16d7afcaa5301f8243a7dda82be4d59e84ac6ee1 | [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> | Sun May 01 18:46:54 2016 -0700 |
| tree | e3ba55c0432f97cfae0c8cfa96ef6aea0af68b92 | |
| parent | de8ac97eafe79c98ee3716d238d5b161d40b96f1 [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>