https://github.com/torvalds/linux
Revision 3055addadbe9bfb2365006a1c13fd342a8d30d52 authored by Dimitri Sivanich on 31 March 2006, 10:31:20 UTC, committed by Linus Torvalds on 31 March 2006, 20:18:58 UTC
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>
1 parent 669d786
History
Tip revision: 3055addadbe9bfb2365006a1c13fd342a8d30d52 authored by Dimitri Sivanich on 31 March 2006, 10:31:20 UTC
[PATCH] hrtimer: call get_softirq_time() only when necessary in run_hrtimer_queue()
Tip revision: 3055add

back to top