Al Viro
86a9c446c1
posix-cpu-timers: Move copyout of timespec into do_cpu_nanosleep()
...
The posix-cpu-timer nanosleep() implementation can be simplified by moving
the copy out of the remaining time to do_cpu_nanosleep() which is shared
between the real nanosleep function and the restart function.
The pointer to the timespec64 which is updated has to be stored in the
restart block anyway. Instead of storing it only in the restart case, store
it before calling do_cpu_nanosleep() and copy the remaining time in the
signal exit path.
[ tglx: Added changelog ]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170607084241.28657-1-viro@ZenIV.linux.org.uk
2017-06-14 00:00:40 +02:00
..
alarmtimer.c
alarmtimer: Switch over to generic set/get/rearm routine
2017-06-04 15:40:32 +02:00
clockevents.c
clockevents: Make clockevents_config() static
2017-03-23 12:14:05 -07:00
clocksource.c
hrtimer.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
itimer.c
sched/headers: Prepare to move cputime functionality from <linux/sched.h> into <linux/sched/cputime.h>
2017-03-02 08:42:39 +01:00
jiffies.c
jiffies: Revert bogus conversion of NSEC_PER_SEC to TICK_NSEC
2017-03-07 11:03:28 +01:00
Kconfig
Makefile
ntp.c
ntp_internal.h
posix-clock.c
posix-timers: Move posix-timer internals to core
2017-06-04 15:40:23 +02:00
posix-cpu-timers.c
posix-cpu-timers: Move copyout of timespec into do_cpu_nanosleep()
2017-06-14 00:00:40 +02:00
posix-stubs.c
time: Change k_clock nsleep() to use timespec64
2017-04-14 21:49:56 +02:00
posix-timers.c
posix-timers: Handle relative posix-timers correctly
2017-06-12 21:07:41 +02:00
posix-timers.h
alarmtimer: Switch over to generic set/get/rearm routine
2017-06-04 15:40:32 +02:00
sched_clock.c
timers, sched_clock: Update timeout for clock wrap
2017-03-23 12:30:27 -07:00
test_udelay.c
tick-broadcast-hrtimer.c
tick-broadcast.c
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-02-20 10:06:32 -08:00
tick-common.c
tick-internal.h
tick-oneshot.c
tick-sched.c
cpufreq: schedutil: Avoid reducing frequency of busy CPUs prematurely
2017-03-23 02:12:14 +01:00
tick-sched.h
Revert "nohz: Fix collision between tick and other hrtimers"
2017-02-16 12:19:18 -08:00
time.c
time: delete current_fs_time()
2017-05-12 15:57:15 -07:00
timeconst.bc
timeconv.c
timecounter.c
timekeeping.c
timekeeping: Remove pointless conversion to bool
2017-03-31 10:26:56 +02:00
timekeeping.h
timekeeping_debug.c
timekeeping: Use deferred printk() in debug code
2017-02-15 11:46:08 +01:00
timekeeping_internal.h
timer.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
timer_list.c
sysrq: Reset the watchdog timers while displaying high-resolution timers
2017-03-23 12:46:53 -07:00