rcu: Avoid ->dynticks_nmi_nesting store tearing
NMIs can nest, and store tearing could in theory happen on carries
from one byte to the next. This commit therefore adds the WRITE_ONCE()
macros preventing this.
Signed-off-by:
Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Showing
Please register or sign in to comment