Commit ead6b510 authored by Jeff Ohlstein's avatar Jeff Ohlstein
Browse files

hrtimer: remove timerqueue node before reprogramming clockevent device



Currently the __remove_hrtimer function attempts to reprogram the
clockevent device so that we don't wake up unnecessarily from a timer we
have deleted. However, it does the reprogramming before actually
removing the timer in question from the timerqueue, so it turns into a
noop. This causes us to have an extra wakeup every time we remove the
timer that fires this. This is especially noticeable when the system
goes idle and we switch to NOHZ mode, as the system will always wakeup
one extra time when the system tick is removed.

Change-Id: If8656bbf85694228f279923fa86bd798d23e0f49
Signed-off-by: default avatarJeff Ohlstein <johlstei@codeaurora.org>
parent 5ceed1e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment