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-- 10.5 KB
Makefile -rw-r--r-- 1.1 KB
aes.c -rw-r--r-- 11.6 KB
anubis.c -rw-r--r-- 27.7 KB
api.c -rw-r--r-- 6.3 KB
arc4.c -rw-r--r-- 2.0 KB
blowfish.c -rw-r--r-- 17.4 KB
cast5.c -rw-r--r-- 34.2 KB
cast6.c -rw-r--r-- 21.5 KB
cipher.c -rw-r--r-- 11.2 KB
compress.c -rw-r--r-- 1.8 KB
crc32c.c -rw-r--r-- 2.4 KB
crypto_null.c -rw-r--r-- 3.3 KB
deflate.c -rw-r--r-- 5.3 KB
des.c -rw-r--r-- 35.2 KB
digest.c -rw-r--r-- 2.5 KB
hmac.c -rw-r--r-- 3.1 KB
internal.h -rw-r--r-- 2.8 KB
khazad.c -rw-r--r-- 51.7 KB
md4.c -rw-r--r-- 6.1 KB
md5.c -rw-r--r-- 7.1 KB
michael_mic.c -rw-r--r-- 3.4 KB
proc.c -rw-r--r-- 2.8 KB
scatterwalk.c -rw-r--r-- 2.8 KB
scatterwalk.h -rw-r--r-- 2.0 KB
serpent.c -rw-r--r-- 19.8 KB
sha1.c -rw-r--r-- 3.0 KB
sha256.c -rw-r--r-- 11.0 KB
sha512.c -rw-r--r-- 10.3 KB
tcrypt.c -rw-r--r-- 30.0 KB
tcrypt.h -rw-r--r-- 103.0 KB
tea.c -rw-r--r-- 7.1 KB
tgr192.c -rw-r--r-- 31.0 KB
twofish.c -rw-r--r-- 44.9 KB
wp512.c -rw-r--r-- 60.2 KB

back to top