android_kernel_motorola_sm6375/kernel/time
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thomas Gleixner fe0517f893 posix-cpu-timers: Respect INFINITY for hard RTTIME limit
The RTIME limit expiry code does not check the hard RTTIME limit for
INFINITY, i.e. being disabled.  Add it.

While this could be considered an ABI breakage if something would depend on
this behaviour. Though it's highly unlikely to have an effect because
RLIM_INFINITY is at minimum INT_MAX and the RTTIME limit is in seconds, so
the timer would fire after ~68 years.

Adding this obvious correct limit check also allows further consolidation
of that code and is a prerequisite for cleaning up the 0 based checks and
the rlimit setter code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190821192922.078293002@linutronix.de
2019-08-28 11:50:39 +02:00
..
alarmtimer.c posix-timers: Use a callback for cancel synchronization on PREEMPT_RT 2019-08-20 22:05:46 +02:00
clockevents.c
clocksource.c clocksource: Move inline keyword to the beginning of function declarations 2019-06-14 17:04:03 +02:00
hrtimer.c hrtimer: Don't take expiry_lock when timer is currently migrated 2019-08-21 16:10:01 +02:00
itimer.c posix-cpu-timers: Switch thread group sampling to array 2019-08-28 11:50:39 +02:00
jiffies.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile timekeeping: Provide a generic update_vsyscall() implementation 2019-06-22 21:21:06 +02:00
ntp.c ntp: Limit TAI-UTC offset 2019-06-22 11:28:53 +02:00
ntp_internal.h
posix-clock.c
posix-cpu-timers.c posix-cpu-timers: Respect INFINITY for hard RTTIME limit 2019-08-28 11:50:39 +02:00
posix-stubs.c
posix-timers.c hrtimer: Improve comments on handling priority inversion against softirq kthread 2019-08-20 22:05:46 +02:00
posix-timers.h posix-timers: Use a callback for cancel synchronization on PREEMPT_RT 2019-08-20 22:05:46 +02:00
sched_clock.c
test_udelay.c
tick-broadcast-hrtimer.c tick: Mark tick related hrtimers to expiry in hard interrupt context 2019-08-01 20:51:21 +02:00
tick-broadcast.c
tick-common.c
tick-internal.h
tick-oneshot.c
tick-sched.c tick: Mark tick related hrtimers to expiry in hard interrupt context 2019-08-01 20:51:21 +02:00
tick-sched.h
time.c time: Validate user input in compat_settimeofday() 2019-07-07 12:05:40 +02:00
timeconst.bc
timeconv.c
timecounter.c
timekeeping.c timekeeping: Use proper ktime_add when adding nsecs in coarse offset 2019-06-22 12:11:27 +02:00
timekeeping.h
timekeeping_debug.c
timekeeping_internal.h
timer.c posix-cpu-timers: Remove tsk argument from run_posix_cpu_timers() 2019-08-21 20:27:16 +02:00
timer_list.c timer_list: Guard procfs specific code 2019-06-23 00:08:52 +02:00
vsyscall.c timekeeping/vsyscall: Use __iter_div_u64_rem() 2019-07-10 20:37:49 +02:00