From: Ingo Molnar Date: Sat, 8 Nov 2008 16:05:38 +0000 (+0100) Subject: sched: optimize sched_clock() a bit X-Git-Tag: v2.6.28-rc4~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cbaef9c83e58bbd4bdd534b09052b6c5ec457d5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed