aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2008-11-08 16:05:38 +0000
committerIngo Molnar <[email protected]>2008-11-08 16:05:38 +0000
commit7cbaef9c83e58bbd4bdd534b09052b6c5ec457d5 (patch)
tree7d2746038b50eb3b2721f506f82de9a0a910c2e6 /lib/debugobjects.c
parentsched: improve sched_clock() performance (diff)
downloadkernel-7cbaef9c83e58bbd4bdd534b09052b6c5ec457d5.tar.gz
kernel-7cbaef9c83e58bbd4bdd534b09052b6c5ec457d5.zip
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 <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions