diff options
author | John Stultz <john.stultz@linaro.org> | 2011-08-10 10:26:09 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-08-10 10:26:09 -0700 |
commit | 6af7e471e5a7746b8024d70b4363d3dfe41d36b8 (patch) | |
tree | 33b1af81dfadefcc367307939acbb0d28c07c7c1 /virt | |
parent | ea7802f630d356acaf66b3c0b28c00a945fc35dc (diff) |
alarmtimers: Avoid possible denial of service with high freq periodic timers
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>
CC: stable@kernel.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions