]> err.no Git - linux-2.6/commit
[PATCH] hrtimer: call get_softirq_time() only when necessary in run_hrtimer_queue()
authorDimitri Sivanich <sivanich@sgi.com>
Fri, 31 Mar 2006 10:31:20 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:58 +0000 (12:18 -0800)
commit3055addadbe9bfb2365006a1c13fd342a8d30d52
tree0efcbd4a4e1d129beeb2dee3649951bea0462052
parent669d7868ae414cdb7b7e5df375dc8e4b47f26f6d
[PATCH] hrtimer: call get_softirq_time() only when necessary in run_hrtimer_queue()

It seems that run_hrtimer_queue() is calling get_softirq_time() more
often than it needs to.

With this patch, it only calls get_softirq_time() if there's a
pending timer.

Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/hrtimer.c