User: Password:
|
|
Subscribe / Log in / New account

Deferrable timers support for timerfd API

From:  Alexey Perevalov <a.perevalov@samsung.com>
To:  linux-kernel@vger.kernel.org, john.stultz@linaro.org
Subject:  [PATCH v2 0/3] Deferrable timers support for timerfd API
Date:  Mon, 13 Jan 2014 14:43:52 +0400
Message-ID:  <1389609835-24377-1-git-send-email-a.perevalov@samsung.com>
Cc:  Alexey Perevalov <a.perevalov@samsung.com>, anton@enomsg.org, kyungmin.park@samsung.com, akpm@linux-foundation.org, cw00.choi@samsung.com
Archive-link:  Article

Hello dear community.

This is reworked patch set of original Anton's Vorontsov
proposal regarding unified deferrable timers in the user space.
http://lwn.net/Articles/514707/


I decided to resubmit it due we found it usefull for us too.

timerfd was modified since Anton's commit, Alarm support was added.
This isn't only rebase. Anton's previous version used deferrable timer
in couple with hrtimer. This version uses only deferrable timer. It
mean the behaviour of overrun number is different.
e.g. if you don't poll one second timer for a 10 seconds - you'll get
10 overruns with hrtimer, but for deferrable timer it could be another value.

Anton Vorontsov (3):
  kernel/time: Add new helpers to convert ktime to/from jiffies
  timerfd: Factor out timer-type unspecific timerfd_expire()
  timerfd: Add support for deferrable timers

 fs/timerfd.c            |  127 +++++++++++++++++++++++++++++++++++------------
 include/linux/jiffies.h |    4 +-
 include/linux/ktime.h   |    3 +-
 include/linux/timerfd.h |    4 +-
 kernel/time.c           |   23 +++++++++
 5 files changed, 126 insertions(+), 35 deletions(-)

-- 
1.7.9.5

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


Copyright © 2014, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds