Skip to content
Commit 844a378d authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

srcu: Apply *_ONCE() to ->srcu_last_gp_end



The ->srcu_last_gp_end field is accessed from any CPU at any time
by synchronize_srcu(), so non-initialization references need to use
READ_ONCE() and WRITE_ONCE().  This commit therefore makes that change.

Reported-by: default avatar <syzbot+08f3e9d26e5541e1ecf2@syzkaller.appspotmail.com>
Acked-by: default avatarMarco Elver <elver@google.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 7441e766
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment