kernel-ark/arch/tile
Chris Metcalf 627ae54854 tile: use READ_ONCE() in arch_spin_is_locked()
This avoid potential issues if callers were to loop on these
routines without some kind of memory barrier.  Currently there
are no such users in-tree, but it seems better safe than sorry.

Also, in the tilepro case we read "current" before "next",
which gives us a slightly better guarantee that the lock was
actually unlocked at least momentarily if we return claiming
that it is not locked.  None of the callers actually rely on
this behavior, as far as I know, however.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
2015-04-28 22:43:16 -04:00
..
configs netpoll: delete defconfig references to obsolete NETPOLL_TRAP 2014-11-29 21:13:48 -08:00
gxio ptp: tilegx: convert to the 64 bit get/set time methods. 2015-03-31 12:01:18 -04:00
include tile: use READ_ONCE() in arch_spin_is_locked() 2015-04-28 22:43:16 -04:00
kernel This is the final removal (after several years!) of the obsolete cpus_* 2015-04-20 10:19:03 -07:00
kvm rcu: Make SRCU optional by using CONFIG_SRCU 2015-01-06 11:04:29 -08:00
lib tile: modify arch_spin_unlock_wait() semantics 2015-04-28 22:43:13 -04:00
mm tile: map data region shadow of kernel as R/W 2015-04-17 14:01:35 -04:00
Kbuild
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2015-04-17 16:03:05 -04:00
Kconfig.debug tile: remove DEBUG_EXTRA_FLAGS kernel config option 2013-09-03 14:52:17 -04:00
Makefile tile: remove DEBUG_EXTRA_FLAGS kernel config option 2013-09-03 14:52:17 -04:00