Re: sched_clock - microblaze

From: Arnd Bergmann
Date: Fri Apr 16 2010 - 04:37:39 EST


On Friday 16 April 2010, Michal Simek wrote:
> Why is sched_clock called in init_idle? Do you get any non zero value on
> any ARCH?

Yes, some architectures return a real-time value here that starts before boot.
Also, when the clock starts at boot time, there can be a significant time
spent in the firmware and early kernel code before we get to init_idle.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/