Re: [PATCH 1/2] alarmtimer: add functions for timerfd support

From: John Stultz
Date: Wed May 15 2013 - 17:50:12 EST


On 05/15/2013 02:38 PM, Todd Poynor wrote:
Add functions needed for hooking up alarmtimer to timerfd:

* alarm_restart: Similar to hrtimer_restart, restart an alarmtimer after
the expires time has already been updated (as with alarm_forward).

* alarm_forward_now: Similar to hrtimer_forward_now, move the expires
time forward to an interval from the current time of the associated clock.

* alarm_start_relative: Start an alarmtimer with an expires time relative to
the current time of the associated clock.

* alarm_expires_remaining: Similar to hrtimer_expires_remaining, return the
amount of time remaining until alarm expiry.

Signed-off-by: Todd Poynor <toddpoynor@xxxxxxxxxx>

Acked-by: John Stultz <john.stultz@xxxxxxxxxx>

I'll queue this in my tree for 3.11, but I need to sort out which path the timerfd code needs to go upstream.

thanks
-john




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/