kernel-ark/arch/tile/include
Peter Zijlstra b3a8cb18ce sched/idle, tile: Switch from TS_POLLING to TIF_POLLING_NRFLAG
Standardize the idle polling indicator to TIF_POLLING_NRFLAG such that
both TIF_NEED_RESCHED and TIF_POLLING_NRFLAG are in the same word.
This will allow us, using fetch_or(), to both set NEED_RESCHED and
check for POLLING_NRFLAG in a single operation and avoid pointless
wakeups.

Changing from the non-atomic thread_info::status flags to the atomic
thread_info::flags shouldn't be a big issue since most polling state
changes were followed/preceded by a full memory barrier anyway.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-35zzwlvwr7cp8xj196y10yyx@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-05-08 09:16:54 +02:00
..
arch tile: <arch/> header updates from upstream 2013-09-16 15:47:26 -04:00
asm sched/idle, tile: Switch from TS_POLLING to TIF_POLLING_NRFLAG 2014-05-08 09:16:54 +02:00
gxio tile: improve gxio iorpc autogenerated code style 2013-09-16 15:47:20 -04:00
hv Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2013-09-06 11:14:33 -07:00
uapi tile: remove support for TILE64 2013-09-03 14:53:29 -04:00