Files
kernel_google_wahoo/kernel/time
Steve Muckle 6370716bc3 sched: do not set window until sched_clock is fully initialized
The system initially uses a jiffy-based sched clock. When the platform
registers a new timer for sched_clock, sched_clock can jump backwards.
Once sched_clock_postinit() runs it should be safe to rely on it.

Also sched_clock_cpu() relies on completion of sched_clock_init()
and until that happens sched_clock_cpu() returns zero. This is used
in the irq accounting path which window-based stats relies upon.
So do not set window_start until sched_clock_cpu() is working.

Change-Id: Ided349de8f8554f80a027ace0f63ea52b1c38c68
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
2016-03-23 20:01:06 -07:00
..
2015-11-09 15:11:24 -08:00
2015-09-22 12:54:23 +02:00
2015-10-01 09:59:07 -07:00
2015-10-26 10:06:06 +09:00
2015-11-09 15:11:24 -08:00