]> git.baikalelectronics.ru Git - kernel.git/commit
hrtimer: fix timerqueue conversion flub
authorJohn Stultz <john.stultz@linaro.org>
Sat, 11 Dec 2010 06:19:53 +0000 (22:19 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Sat, 11 Dec 2010 06:19:53 +0000 (22:19 -0800)
commit5d35b31b950cc1c3e38ba16b0bbc007b8af5cbde
tree34431af3282f6b3892e092cc77b507a92a66724e
parent6fa4da33634ccb47da5f6da0d00608c21cdc16de
hrtimer: fix timerqueue conversion flub

In converting the hrtimers to timerqueue, I missed
a spot in hrtimer_run_queues where we loop running
timers. We end up not pulling the new next value out
and instead just use the last next value, causing
boot time hangs in some cases.

The proper fix is to pull timerqueue_getnext each iteration
instead of using a local next value.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/hrtimer.c