[IA64] reduce cacheline bouncing in cpu_idle_wait
authorZwane Mwaikambo <zwane@arm.linux.org.uk>
Thu, 31 Mar 2005 04:40:00 +0000 (21:40 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 3 May 2005 20:40:18 +0000 (13:40 -0700)
Andi noted that during normal runtime cpu_idle_map is bounced around a lot,
and occassionally at a higher frequency than the timer interrupt wakeup
which we normally exit pm_idle from.  So switch to a percpu variable.

I didn't move things to the slow path because it would involve adding
scheduler code to wakeup the idle thread on the cpus we're waiting for.

Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>

No differences found