diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-05-02 03:46:54 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-16 00:31:28 +0200 |
commit | 3a37f7275cda5ad25c1fe9be8f20c76c60d175fa (patch) | |
tree | 89e64cf1b726c48daf24663dd15be033589c7dba /init/Kconfig | |
parent | rcu: Document RCU_NONIDLE() restrictions in comment header (diff) | |
download | linux-3a37f7275cda5ad25c1fe9be8f20c76c60d175fa.tar.xz linux-3a37f7275cda5ad25c1fe9be8f20c76c60d175fa.zip |
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/Kconfig')
0 files changed, 0 insertions, 0 deletions