Andi Kleen 495ab9c045 [PATCH] i386/x86-64/ia64: Move polling flag into thread_info_status
During some profiling I noticed that default_idle causes a lot of
memory traffic. I think that is caused by the atomic operations
to clear/set the polling flag in thread_info. There is actually
no reason to make this atomic - only the idle thread does it
to itself, other CPUs only read it. So I moved it into ti->status.

Converted i386/x86-64/ia64 for now because that was the easiest
way to fix ACPI which also manipulates these flags in its idle
function.

Cc: Nick Piggin <npiggin@novell.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 10:48:21 -07:00
..
2006-06-20 01:21:29 -07:00
2006-06-25 10:01:16 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 08:47:27 -07:00
2006-06-17 21:25:58 -07:00
2006-05-03 20:05:41 -07:00
2006-06-20 01:21:29 -07:00
2006-06-19 13:06:05 +01:00
2006-06-19 15:37:31 +01:00
2006-06-25 10:01:14 -07:00
2006-06-25 10:01:06 -07:00
2006-06-23 07:43:06 -07:00
2006-06-17 21:18:43 -07:00
2006-06-17 21:18:43 -07:00