Venki Pallipadi 783e391b7b x86: Simplify cpu_idle_wait
This patch also resolves hangs on boot:
	http://lkml.org/lkml/2008/2/23/263
	http://bugzilla.kernel.org/show_bug.cgi?id=10093

The bug was causing once-in-few-reboots 10-15 sec wait during boot on
certain laptops.

Earlier commit 40d6a146629b98d8e322b6f9332b182c7cbff3df added
smp_call_function in cpu_idle_wait() to kick cpus that are in tickless
idle.  Looking at cpu_idle_wait code at that time, code seemed to be
over-engineered for a case which is rarely used (while changing idle
handler).

Below is a simplified version of cpu_idle_wait, which just makes a dummy
smp_call_function to all cpus, to make them come out of old idle handler
and start using the new idle handler.  It eliminates code in the idle
loop to handle cpu_idle_wait.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-10 15:38:29 -07:00
..
2008-04-06 16:10:40 -07:00
2007-10-17 21:19:04 +02:00
2008-01-30 13:33:14 +01:00
2008-02-26 12:55:49 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-19 11:53:33 -07:00
2007-10-13 10:01:23 -07:00
2008-01-30 13:31:31 +01:00
2008-01-31 22:05:47 +01:00
2008-02-19 16:18:28 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:31:19 +01:00
2008-02-19 16:18:28 +01:00
2008-02-19 16:18:29 +01:00
2008-03-21 17:06:15 +01:00
2008-04-04 18:36:49 +02:00
2008-03-07 16:39:14 +01:00
2008-02-13 16:20:35 +01:00
2008-03-26 22:23:40 +01:00
2008-01-30 13:33:10 +01:00
2007-10-11 11:17:24 +02:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:33:19 +01:00
2007-10-11 11:17:01 +02:00
2008-04-10 15:38:29 -07:00
2008-04-10 15:38:29 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:32:40 +01:00
2007-10-11 11:17:01 +02:00
2008-03-11 17:11:54 +01:00
2008-04-03 15:42:43 -07:00
2007-10-20 01:13:56 +02:00
2007-10-17 08:42:55 -07:00
2008-02-08 09:22:29 -08:00
2008-02-29 18:55:39 +01:00
2008-01-30 13:31:52 +01:00
2008-02-06 22:39:44 +01:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:31:42 +01:00
2008-02-04 16:47:54 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:31:10 +01:00