Re: [PATCH] hrtimer, add expiry time overflow check in hrtimer_interrupt

From: John Stultz
Date: Mon Apr 08 2013 - 16:38:56 EST


On 04/08/2013 01:34 PM, Prarit Bhargava wrote:

On 04/08/2013 04:19 PM, John Stultz wrote:
On 04/08/2013 05:47 AM, Prarit Bhargava wrote:
A simple check for an overflow can resolve this problem. Using KTIME_MAX
instead of the overflow value will result in the hrtimer function being run,
and the reprogramming of the timer after that.

Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: John Stultz <john.stultz@xxxxxxxxxx>
Prarit: Should this be tagged for -stable?
John,

Yes, this should go to -stable. cc'd.
Also, added the cc to the commit.

thanks
-john

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/