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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux