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
File Mode Size
Kconfig -rw-r--r-- 17.2 KB
Makefile -rw-r--r-- 921 bytes
calibrate.c -rw-r--r-- 4.7 KB
do_mounts.c -rw-r--r-- 9.0 KB
do_mounts.h -rw-r--r-- 1.7 KB
do_mounts_devfs.c -rw-r--r-- 2.8 KB
do_mounts_initrd.c -rw-r--r-- 3.1 KB
do_mounts_md.c -rw-r--r-- 7.5 KB
do_mounts_rd.c -rw-r--r-- 10.0 KB
initramfs.c -rw-r--r-- 10.9 KB
main.c -rw-r--r-- 17.0 KB
version.c -rw-r--r-- 748 bytes

back to top