|
|
Subscribe / Log in / New account

Deferrable timers support for hrtimers/timerfd API

From:  Alexey Perevalov <a.perevalov@samsung.com>
To:  linux-kernel@vger.kernel.org, tglx@linutronix.de, john.stultz@linaro.org
Subject:  [PATCH v3 0/6] Deferrable timers support for hrtimers/timerfd API
Date:  Thu, 20 Feb 2014 12:40:27 +0400
Message-ID:  <1392885633-7787-1-git-send-email-a.perevalov@samsung.com>
Cc:  Alexey Perevalov <a.perevalov@samsung.com>, anton@nomsg.org, kyungmin.park@samsung.com, cw00.choi@samsung.com, akpm@linux-foundation.org
Archive‑link:  Article

Hello.

This is a combo patch set for support defferability in timerfd.
Due implementation of timerfd is based on hrtimers and only on hrtimers,
it was necessary to add such deferrability into hrtimers too.

It brings benefits for user-land application which don't want to break idle state and for
in-kernel users who want to use hrtimer advantages. 

Alexey Perevalov (2):
  tracing/trivial: Add CLOCK_BOOTIME and CLOCK_TAI for human readable
    clockid trace
  tracing/trivial: Add CLOCK_*_DEFERRABLE for tracing clockids

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

Thomas Gleixner (1):
  hrtimer: Add support for deferrable timer into the hrtimer

 fs/timerfd.c                 |   47 ++++++++++++++++----------------
 include/linux/hrtimer.h      |    3 ++
 include/linux/jiffies.h      |    4 ++-
 include/linux/ktime.h        |    3 +-
 include/trace/events/timer.h |   11 +++++++-
 include/uapi/linux/time.h    |    3 ++
 kernel/hrtimer.c             |   62 +++++++++++++++++++++++++++++++++---------
 kernel/time.c                |   23 ++++++++++++++++
 8 files changed, 117 insertions(+), 39 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