1
0
Files
linux/arch/tile/include/asm
Peter Zijlstra 62e8a3258b atomic, arch: Audit atomic_{read,set}()
This patch makes sure that atomic_{read,set}() are at least
{READ,WRITE}_ONCE().

We already had the 'requirement' that atomic_read() should use
ACCESS_ONCE(), and most archs had this, but a few were lacking.
All are now converted to use READ_ONCE().

And, by a symmetry and general paranoia argument, upgrade atomic_set()
to use WRITE_ONCE().

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: james.hogan@imgtec.com
Cc: linux-kernel@vger.kernel.org
Cc: oleg@redhat.com
Cc: will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-09-23 09:54:28 +02:00
..
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2015-07-30 12:32:16 -04:00
2014-01-23 16:36:54 -08:00
2013-11-13 20:21:46 +01:00
2012-03-20 21:48:30 +08:00
2013-09-03 14:53:29 -04:00
2015-04-17 12:58:44 -04:00
2014-08-26 13:45:54 -04:00
2015-07-30 12:32:16 -04:00
2013-08-30 11:55:53 -04:00
2012-05-25 12:48:25 -04:00
2013-09-03 14:51:26 -04:00
2012-07-24 15:27:32 +08:00
2013-08-30 11:55:53 -04:00
2014-08-26 13:45:54 -04:00
2013-08-13 16:26:21 -04:00
2013-09-13 11:15:24 -04:00
2015-05-11 11:22:40 -04:00
2013-08-12 14:46:18 -04:00
2015-04-17 12:58:44 -04:00
2015-05-11 11:22:40 -04:00
2015-08-08 10:29:21 +02:00
2015-07-30 12:32:16 -04:00
2015-05-11 11:22:40 -04:00
2012-03-28 18:30:03 +01:00
2013-08-13 16:26:05 -04:00
2013-02-14 09:21:15 -05:00
2014-10-02 13:56:07 -04:00