kernel_optimize_test/drivers/clocksource
Arjan van de Ven b519508298 clocksource: Load the ACPI PM clocksource asynchronously
The ACPI clocksource takes quite some time to initialize,
and this increases the boot time of the kernel for a
double digit percentage. This while almost all modern
systems will be using the HPET already anyway.

This patch turns the clocksource loading into an asynchronous
operation; which means it won't hold up the boot while
still becoming available normally.

To make this work well, an udelay() had to be turned into an
usleep_range() so that on UP systems, we yield the CPU to
regular boot tasks instead of spinning.

CC: John Stultz <johnstul@us.ibm.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Len Brown <lenb@kernel.org>

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2012-02-01 18:39:46 -08:00
..
acpi_pm.c clocksource: Load the ACPI PM clocksource asynchronously 2012-02-01 18:39:46 -08:00
clksrc-dbx500-prcmu.c clocksource: dbx500: convert to clocksource_register_hz() 2012-02-01 18:37:37 -08:00
cs5535-clockevt.c Andres has moved 2010-07-20 16:25:41 -07:00
cyclone.c clocksource: cyclone: Add missing iounmap 2012-01-26 19:30:40 -08:00
dw_apb_timer.c dw_apb_timer: constify clocksource name 2011-10-04 13:08:18 -07:00
i8253.c time: x86: Replace LATCH with PIT_LATCH in i8253 clocksource driver 2011-11-21 19:00:59 -08:00
Kconfig clocksource: add DBX500 PRCMU Timer support 2011-09-22 15:42:57 +02:00
Makefile clocksource: add DBX500 PRCMU Timer support 2011-09-22 15:42:57 +02:00
mmio.c clocksource: add common mmio clocksource 2011-05-23 18:04:51 +01:00
scx200_hrt.c clocksource: scx200_hrt: Convert scx200 to use clocksource_register_hz 2012-02-01 18:37:40 -08:00
sh_cmt.c drivers/clocksource: Add module.h to those who were using it implicitly 2011-10-31 19:31:42 -04:00
sh_mtu2.c drivers/clocksource: Add module.h to those who were using it implicitly 2011-10-31 19:31:42 -04:00
sh_tmu.c drivers/clocksource: Add module.h to those who were using it implicitly 2011-10-31 19:31:42 -04:00
tcb_clksrc.c clocksource: Convert tcb_clksrc to use clocksource_register_hz/khz 2011-11-21 19:01:42 -08:00