Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

rcu: Correct READ_ONCE()/WRITE_ONCE() for ->rcu_read_unlock_special



The task_struct structure's ->rcu_read_unlock_special field is only ever
read or written by the owning task, but it is accessed both at process
and interrupt levels.  It may therefore be accessed using plain reads
and writes while interrupts are disabled, but must be accessed using
READ_ONCE() and WRITE_ONCE() or better otherwise.  This commit makes a
few adjustments to align with this discipline.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent f1a98045
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment