git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d12cdd
)
sched: optimize sched_clock() a bit
author
Ingo Molnar
<mingo@elte.hu>
Sat, 8 Nov 2008 16:05:38 +0000
(17:05 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Sat, 8 Nov 2008 16:05:38 +0000
(17:05 +0100)
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>
No differences found