Suresh Siddha 3fb82d56ad x86, suspend: Avoid unnecessary smp alternatives switch during suspend/resume
During suspend, we disable all the non boot cpus. And during resume we bring
them all back again. So no need to do alternatives_smp_switch() in between.

On my core 2 based laptop, this speeds up the suspend path by 15msec and the
resume path by 5 msec (suspend/resume speed up differences can be attributed
to the different P-states that the cpu is in during suspend/resume).

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <1290557500.4946.8.camel@sbsiddha-MOBL3.sc.intel.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-12-13 16:23:56 -08:00
..
2010-08-27 11:12:29 -07:00
2010-10-26 16:52:08 -07:00
2010-07-21 11:33:27 -07:00
2010-07-21 21:23:51 -07:00
2010-08-27 11:12:29 -07:00
2010-10-26 16:52:14 -07:00
2010-09-22 16:33:03 -04:00
2010-10-27 17:22:16 +02:00
2010-10-27 18:03:10 -07:00
2010-10-25 19:38:52 +02:00
2009-12-09 16:28:59 -08:00
2010-03-26 11:33:57 +01:00
2010-02-16 18:21:32 +01:00
2010-07-21 21:23:40 -07:00
2010-10-18 10:49:34 -04:00