From: John Stultz <john.stultz@linaro.org>
To: linux-kernel@vger.kernel.org
Cc: "John Stultz" <john.stultz@linaro.org>,
"Arve Hjønnevåg" <arve@android.com>,
"Brian Swetland" <swetland@google.com>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Alessandro Zummo" <a.zummo@towertech.it>
Subject: [PATCH 00/12] Posix Alarm Timers full patchset
Date: Wed, 5 Jan 2011 18:15:47 -0800 [thread overview]
Message-ID: <1294280159-2513-1-git-send-email-john.stultz@linaro.org> (raw)
The first 8 of these patches are already in -tip for inclusion
in 2.6.38, but I wanted to send them all out again so folks could
try them out and I could hopefully get some feedback on the remaining
patches in this set.
Specifically, I'm really hoping to get some feedback from any Android
folks on the introduction of CLOCK_BOOTTIME (generic posix version of
ANDROID_ALARM_ELAPSED_REALTIME) which provides CLOCK_MONOTONIC + suspend
time, as well as the posix alarm timers (CLOCK_REALTIME_ALARM and
CLOCK_BOOTTIME_ALARM), which try to provide equivalent functionality
as the Android Alarm Timers.
There are still a few remaining TODOs here, but getting some feedback
as to any limitations this interface has compared to the Android
/dev/alarm interface would be great.
The full set applies ontop of v2.6.37.
thanks
-john
CC: Arve Hjønnevåg <arve@android.com>
CC: Brian Swetland <swetland@google.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Alessandro Zummo <a.zummo@towertech.it>
John Stultz (11):
timers: Introduce timerlist infrastructure.
timers: Rename timerlist infrastructure to timerqueue
timers: Fixup allmodconfig build issue
hrtimers: Convert hrtimers to use timerlist infrastructure
hrtimer: fix timerqueue conversion flub
RTC: Rework RTC code to use timerqueue for events
RTC: Remove UIE emulation
[RFC] hrtimers: extend hrtimer base code to handle more then 2
clockids
[RFC] hrtimers: Add CLOCK_BOOTTIME clockid, hrtimerbase and posix
interface
timers: Add rb_init_node() to allow for stack allocated rb nodes
[RFC] Introduce Alarm (hybrid) timers
Thomas Gleixner (1):
rtc: Namespace fixup
drivers/rtc/class.c | 13 +
drivers/rtc/interface.c | 574 +++++++++++++++++++++--------------
drivers/rtc/rtc-dev.c | 104 -------
drivers/rtc/rtc-lib.c | 28 ++
include/linux/alarmtimer.h | 30 ++
include/linux/hrtimer.h | 40 ++-
include/linux/posix-timers.h | 2 +
include/linux/rbtree.h | 8 +
include/linux/rtc.h | 51 +++-
include/linux/time.h | 6 +
include/linux/timerqueue.h | 37 +++
kernel/hrtimer.c | 146 +++++-----
kernel/posix-timers.c | 16 +-
kernel/time/Makefile | 2 +-
kernel/time/alarmtimer.c | 699 ++++++++++++++++++++++++++++++++++++++++++
kernel/time/timekeeping.c | 79 +++++-
kernel/time/timer_list.c | 8 +-
lib/Makefile | 2 +-
lib/timerqueue.c | 121 ++++++++
19 files changed, 1525 insertions(+), 441 deletions(-)
create mode 100644 include/linux/alarmtimer.h
create mode 100644 include/linux/timerqueue.h
create mode 100644 kernel/time/alarmtimer.c
create mode 100644 lib/timerqueue.c
--
1.7.3.2.146.gca209
next reply other threads:[~2011-01-06 2:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-06 2:15 John Stultz [this message]
2011-01-06 2:15 ` [PATCH 01/12] timers: Introduce timerlist infrastructure John Stultz
2011-01-06 2:15 ` [PATCH 02/12] timers: Rename timerlist infrastructure to timerqueue John Stultz
2011-01-06 2:15 ` [PATCH 03/12] timers: Fixup allmodconfig build issue John Stultz
2011-01-06 2:15 ` [PATCH 04/12] hrtimers: Convert hrtimers to use timerlist infrastructure John Stultz
2011-01-06 2:15 ` [PATCH 05/12] hrtimer: fix timerqueue conversion flub John Stultz
2011-01-06 2:15 ` [PATCH 06/12] RTC: Rework RTC code to use timerqueue for events John Stultz
2011-01-06 2:15 ` [PATCH 07/12] RTC: Remove UIE emulation John Stultz
2011-01-06 2:15 ` [PATCH 08/12] rtc: Namespace fixup John Stultz
2011-01-06 2:15 ` [PATCH 09/12] [RFC] hrtimers: extend hrtimer base code to handle more then 2 clockids John Stultz
2011-01-06 2:15 ` [PATCH 10/12] [RFC] hrtimers: Add CLOCK_BOOTTIME clockid, hrtimerbase and posix interface John Stultz
2011-01-06 2:15 ` [PATCH 11/12] timers: Add rb_init_node() to allow for stack allocated rb nodes John Stultz
2011-01-06 2:15 ` [PATCH 12/12] [RFC] Introduce Alarm (hybrid) timers John Stultz
2011-01-06 4:07 ` Arve Hjønnevåg
2011-01-06 18:04 ` John Stultz
2011-01-07 0:58 ` Arve Hjønnevåg
2011-01-07 2:30 ` John Stultz
2011-01-08 10:36 ` Rafael J. Wysocki
2011-01-13 5:03 ` Arve Hjønnevåg
2011-01-11 18:56 ` John Stultz
2011-01-11 19:22 ` Anca Emanuel
2011-01-13 4:50 ` Arve Hjønnevåg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1294280159-2513-1-git-send-email-john.stultz@linaro.org \
--to=john.stultz@linaro.org \
--cc=a.zummo@towertech.it \
--cc=arve@android.com \
--cc=linux-kernel@vger.kernel.org \
--cc=swetland@google.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®