linux/kernel/time
John Stultz c3a44b4d23 alarmtimers: Avoid possible denial of service with high freq periodic timers
commit 6af7e471e5 upstream.

Its possible to jam up the alarm timers by setting very small interval
timers, which will cause the alarmtimer subsystem to spend all of its time
firing and restarting timers. This can effectivly lock up a box.

A deeper fix is needed, closely mimicking the hrtimer code, but for now
just cap the interval to 100us to avoid userland hanging the system.

CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-10-03 11:40:07 -07:00
..
alarmtimer.c alarmtimers: Avoid possible denial of service with high freq periodic timers 2011-10-03 11:40:07 -07:00
clockevents.c clockevents: Handle empty cpumask gracefully 2011-06-03 11:13:33 +02:00
clocksource.c clocksource: Make watchdog robust vs. interruption 2011-06-16 19:30:53 +02:00
jiffies.c
Kconfig
Makefile timers: Introduce in-kernel alarm-timer interface 2011-04-26 14:01:44 -07:00
ntp.c
posix-clock.c posix clocks: Replace mutex with reader/writer semaphore 2011-04-18 10:39:38 +02:00
tick-broadcast.c Merge branch 'timers/urgent' into timers/core 2011-05-20 20:08:05 +02:00
tick-common.c
tick-internal.h
tick-oneshot.c
tick-sched.c
timecompare.c
timeconv.c
timekeeping.c timerfd: Allow timers to be cancelled when clock was set 2011-05-02 21:39:15 +02:00
timer_list.c
timer_stats.c