]> err.no Git - linux-2.6/commit
[PATCH] hrtimers: optimize softirq runqueues
authorThomas Gleixner <tglx@linutronix.de>
Sun, 26 Mar 2006 09:38:05 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:02 +0000 (08:57 -0800)
commit92127c7a45d4d167d9b015a5f9de6b41ed66f1d0
tree4742cc36ff0b26c999365d1e84133886bb694096
parenta0e9285233a32edf267d27cd03fe0056951422cf
[PATCH] hrtimers: optimize softirq runqueues

The hrtimer softirq is called from the timer softirq every tick.  Retrieve the
current time from xtime and wall_to_monotonic instead of calling
base->get_time() for each timer base.  Store the time in the base structure
and provide a hook once clock source abstractions are in place and to keep the
code open for new base clocks.

Based on a patch from: Roman Zippel <zippel@linux-m68k.org>

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/hrtimer.h
kernel/hrtimer.c