+4
−4
+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Code that does lockless emptiness testing of non-RCU lists is relying on the list-addition code to write the list head's ->next pointer atomically. This commit therefore adds WRITE_ONCE() to list-addition pointer stores that could affect the head's ->next pointer. Reported-by:Dmitry Vyukov <dvyukov@google.com> Signed-off-by:
Paul E. McKenney <paulmck@linux.vnet.ibm.com>