Re: [PATCH] clocksource: Avoid selecting mult values that mightoverflow when adjusted

From: John Stultz
Date: Thu Nov 03 2011 - 11:15:35 EST


On Thu, 2011-11-03 at 15:52 +0100, Thomas Gleixner wrote:
> On Thu, 3 Nov 2011, Thomas Gleixner wrote:
> > On Thu, 3 Nov 2011, John Stultz wrote:
> > > Oh, and the other bit is that not all clocksources have been converted
> > > over to using clocksource_register_hz/khz, so some may be using very
> > > small shift values, which could more easily hit large % mult adjustment
> > > (due to the resulting coarseness of each integer change) that wouldn't
> > > cause overflows.
> >
> > Fair enough. I'm queuing it.
>
> That want's a cc stable as well, right ?

Good point. Yes.

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/