summaryrefslogtreecommitdiff
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2011-08-10 17:37:59 (GMT)
committerJohn Stultz <john.stultz@linaro.org>2011-08-10 21:55:20 (GMT)
commit4b41308d2d0398409620613c7eaaaf52c738b042 (patch)
tree47a6becae6272eb9c06e57a0a9d1698b8f1811c8 /lib/percpu_counter.c
parent6af7e471e5a7746b8024d70b4363d3dfe41d36b8 (diff)
downloadlinux-fsl-qoriq-4b41308d2d0398409620613c7eaaaf52c738b042.tar.xz
alarmtimers: Change alarmtimer functions to return alarmtimer_restart values
In order to properly fix the denial of service issue with high freq periodic alarm timers, we need to push the re-arming logic into the alarm timer handler, much as the hrtimer code does. This patch introduces alarmtimer_restart enum and changes the alarmtimer handler declarations to use it as a return value. Further, to ease following changes, it extends the alarmtimer handler functions to also take the time at expiration. No logic is yet modified. CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions