range hrtimers for .28
Linus,
please pull range-hrtimers from
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git v28-range-hrtimers-for-linus
These patches provide the following new functionality:
- convert select/poll to hrtimers
- introduce range_hrtimers which allow to apply slack on an hrtimer in order to allow batching of hrtimers
- add a prctrl to modify the per process slack value
- convert the user space interfaces to use the range(slack) interfaces
a detailed description is available here: http://lwn.net/Articles/296578/
Full patch is available from: http://userweb.kernel.org/~tglx/v28-range-hrtimers-for-linus.patch
Thanks,
tglx
---
Arjan van de Ven (30):
select: Introduce a hrtimeout function
select: switch select() and poll() over to hrtimers
hrtimer: add abstraction functions for accessing the "expires" member
hrtimer: convert kvm to the new hrtimer apis
hrtimer: convert timerfd to the new hrtimer apis
hrtimer: convert net::sched_cbq to the new hrtimer apis
hrtimer: convert kernel/* to the new hrtimer apis
hrtimer: convert powerpc/oprofile to the new hrtimer apis
hrtimer: convert kvm-ia64 to the new hrtimer apis
hrtimer: convert s390 to the new hrtimer apis
hrtimer: convert sound/ to the new hrtimer apis
hrtimer: rename the "expires" struct member to avoid accidental usage
hrtimer: turn hrtimers into range timers
hrtimer: create a "timer_slack" field in the task struct
hrtimer: make select() and poll() use the hrtimer range feature
hrtimer: fix build bug found by Ingo
hrtimer: another build fix
hrtimer: add a hrtimer_start_range() function
hrtimer: incorporate feedback from Peter Zijlstra
hrtimer: show the timer ranges in /proc/timer_list
hrtimer: fix signed/unsigned bug in slack estimator
hrtimer: make the nanosleep() syscall use the per process slack
hrtimer: make the futex() system call use the per process slack value
hrtimer: peek at the timer queue just before going idle
select: fix alpha OSF wrapper
select: fix alpha OSF wrapper
rangetimer: fix x86 build failure for the !HRTIMERS case
rangetimer: fix BUG_ON reported by Ingo
rangetimers: fix the bug reported by Ingo for real
Merge commit 'linus/master' into merge-linus
Ingo Molnar (2):
Merge branch 'master' of git://git.kernel.org/.../arjan/linux-2.6-hrtimer into timers/range-hrtimers
hrtimers: fix typo
Stephen Rothwell (1):
DECLARE_PER_CPU needs linux/percpu.h
Thomas Gleixner (8):
select: add a timespec_add_safe() function
select: add poll_select_set_timeout() and poll_select_copy_remaining() helpers
select: add a poll specific struct to the restart_block union
Merge branch 'for-linus' of git://git.kernel.org/.../arjan/linux-2.6-hrtimer into timers/range-hrtimers
hrtimers: fix docbook comments
hrtimers: simplify hrtimer_peek_ahead_timers()
hrtimers: add missing docbook comments to struct hrtimer
Merge branch 'timers/range-hrtimers' into v28-timers-for-linus
arch/alpha/kernel/osf_sys.c | 13 +- arch/ia64/kvm/kvm-ia64.c | 2 +- arch/powerpc/oprofile/cell/spu_profiler.c | 2 +- arch/x86/kvm/i8254.c | 8 +- arch/x86/kvm/lapic.c | 6 +- drivers/cpuidle/cpuidle.c | 7 + drivers/s390/crypto/ap_bus.c | 6 +- fs/compat.c | 187 +++++--------- fs/select.c | 396 ++++++++++++++++------------- fs/timerfd.c | 8 +- include/linux/hrtimer.h | 105 ++++++++- include/linux/init_task.h | 1 + include/linux/poll.h | 8 +- include/linux/prctl.h | 7 + include/linux/sched.h | 6 + include/linux/thread_info.h | 8 + include/linux/time.h | 4 + kernel/fork.c | 2 + kernel/futex.c | 11 +- kernel/hrtimer.c | 206 ++++++++++++++-- kernel/posix-timers.c | 10 +- kernel/rtmutex.c | 3 +- kernel/sched.c | 7 +- kernel/sys.c | 10 + kernel/time.c | 18 ++ kernel/time/ntp.c | 3 +- kernel/time/tick-sched.c | 25 +- kernel/time/timer_list.c | 8 +- net/sched/sch_cbq.c | 7 +- sound/drivers/pcsp/pcsp_lib.c | 5 +- 30 files changed, 710 insertions(+), 379 deletions(-)