1
0
Files
linux/arch/tile/include/asm
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
..
2013-09-06 13:06:25 -04:00
2013-09-06 13:06:25 -04:00
2013-09-06 13:06:25 -04:00
2013-09-03 14:53:29 -04:00
2014-01-23 16:36:54 -08:00
2013-08-30 10:20:13 -04: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
2013-08-30 11:56:50 -04:00
2013-08-13 16:26:01 -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
2013-08-13 16:26:21 -04:00
2013-09-13 11:15:24 -04:00
2013-09-13 11:15:24 -04:00
2013-09-13 11:15:24 -04:00
2013-09-03 14:53:29 -04:00
2013-08-12 14:46:18 -04:00
2013-09-03 14:53:29 -04:00
2012-03-28 18:30:03 +01:00
2013-09-03 14:53:29 -04:00
2013-08-13 16:26:05 -04:00
2013-02-14 09:21:15 -05:00
2013-08-13 16:26:21 -04:00