summaryrefslogtreecommitdiffstats
path: root/drivers/power/ds2782_battery.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-27 01:08:19 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 01:49:42 +0200
commit431e2bcc371016824f419baa745f82388258f3ee (patch)
tree11ed612c73773e5e61160efa6ff5f0c3efe5c936 /drivers/power/ds2782_battery.c
parentrtc: handle errors correctly in rtc_irq_set_state() (diff)
downloadlinux-431e2bcc371016824f419baa745f82388258f3ee.tar.xz
linux-431e2bcc371016824f419baa745f82388258f3ee.zip
rtc: limit frequency
Due to the hrtimer self rearming mode a user can DoS the machine simply because it's starved by hrtimer events. The RTC hrtimer is self rearming. We really need to limit the frequency to something sensible. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: John Stultz <john.stultz@linaro.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Ben Greear <greearb@candelatech.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/power/ds2782_battery.c')
0 files changed, 0 insertions, 0 deletions