Searched hist:"7 cbaef9c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/kernel/ |
H A D | tsc.c | 7cbaef9c Sat Nov 08 10:05:38 CST 2008 Ingo Molnar <mingo@elte.hu> sched: optimize sched_clock() a bit
sched_clock() uses cycles_2_ns() needlessly - which is an irq-disabling variant of __cycles_2_ns().
Most of the time sched_clock() is called with irqs disabled already. The few places that call it with irqs enabled need to be updated.
Signed-off-by: Ingo Molnar <mingo@elte.hu> 7cbaef9c Sat Nov 08 10:05:38 CST 2008 Ingo Molnar <mingo@elte.hu> sched: optimize sched_clock() a bit sched_clock() uses cycles_2_ns() needlessly - which is an irq-disabling variant of __cycles_2_ns(). Most of the time sched_clock() is called with irqs disabled already. The few places that call it with irqs enabled need to be updated. Signed-off-by: Ingo Molnar <mingo@elte.hu>
|