]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
hrtimer: turn hrtimers into range timers
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 1 Sep 2008 22:47:08 +0000 (15:47 -0700)
committerArjan van de Ven <arjan@linux.intel.com>
Sat, 6 Sep 2008 04:35:27 +0000 (21:35 -0700)
commit654c8e0b1c623b156c5b92f28d914ab38c9c2c90
treeb3b1f8cfa8f3b12170f0d8b8770857182a2f0309
parent799b64de256ea68fbb5db63bb55f61c305870643
hrtimer: turn hrtimers into range timers

this patch turns hrtimers into range timers; they have 2 expire points
1) the soft expire point
2) the hard expire point

the kernel will do it's regular best effort attempt to get the timer run
at the hard expire point. However, if some other time fires after the soft
expire point, the kernel now has the freedom to fire this timer at this point,
and thus grouping the events and preventing a power-expensive wakeup in the
future.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
include/linux/hrtimer.h
kernel/hrtimer.c