public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Posix Alarm Timers
@ 2011-04-19 23:58 John Stultz
  2011-04-19 23:58 ` [PATCH 1/4] time: Add timekeeping_inject_sleeptime John Stultz
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: John Stultz @ 2011-04-19 23:58 UTC (permalink / raw)
  To: linux-kernel
  Cc: John Stultz, Arve Hjønnevåg, Thomas Gleixner,
	Alessandro Zummo

Just wanted to send out my current Posix Alarm Timers queue for 
comment and review in the hopes of getting it into shape for
2.6.40.

Some background on the patches can be found here:
	https://lwn.net/Articles/429925/

New in this series:
* Added timekeeping_inject_sleeptime, which corrects CLOCK_BOOTTIME
  for arches that don't support read_persistent_clock().
* I've added a CAP_WAKE_ALARM capability to limit random applications
  from setting alarms in the last patch. This probably needs some
  careful review as it allows clock_nanosleep and timer_create to
  return -EPERM, which is new behavior.

thanks
-john

CC: Arve Hjønnevåg <arve@android.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Alessandro Zummo <a.zummo@towertech.it>

John Stultz (4):
  time: Add timekeeping_inject_sleeptime
  timers: Add rb_init_node() to allow for stack allocated rb nodes
  timers: Introduce in-kernel alarm-timer interface
  timers: posix interface for alarm-timers

 drivers/rtc/class.c          |   23 +-
 include/linux/alarmtimer.h   |   30 ++
 include/linux/capability.h   |    7 +-
 include/linux/posix-timers.h |    2 +
 include/linux/rbtree.h       |    8 +
 include/linux/time.h         |    3 +
 include/linux/timerqueue.h   |    2 +-
 kernel/time/Makefile         |    2 +-
 kernel/time/alarmtimer.c     |  705 ++++++++++++++++++++++++++++++++++++++++++
 kernel/time/timekeeping.c    |   56 ++++-
 10 files changed, 818 insertions(+), 20 deletions(-)
 create mode 100644 include/linux/alarmtimer.h
 create mode 100644 kernel/time/alarmtimer.c

-- 
1.7.3.2.146.gca209


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-04-21 18:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-19 23:58 [PATCH 0/4] Posix Alarm Timers John Stultz
2011-04-19 23:58 ` [PATCH 1/4] time: Add timekeeping_inject_sleeptime John Stultz
2011-04-19 23:58 ` [PATCH 2/4] timers: Add rb_init_node() to allow for stack allocated rb nodes John Stultz
2011-04-19 23:58 ` [PATCH 3/4] timers: Introduce in-kernel alarm-timer interface John Stultz
2011-04-19 23:58 ` [PATCH 4/4] timers: posix interface for alarm-timers John Stultz
2011-04-20  6:34   ` Richard Cochran
2011-04-21 18:19     ` John Stultz
2011-04-20  6:40 ` [PATCH 0/4] Posix Alarm Timers Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox