Re: [PATCH V2 2/2] hrtimer: use __ffs() to iterate over valid bits from active_bases

From: Viresh Kumar
Date: Thu Mar 27 2014 - 01:46:24 EST


On 27 March 2014 11:10, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> What if this is a spurious interrupt and active_bases is 0?

Hmm.. haven't thought about that actually.. I thought it would be
guaranteed here that active_bases isn't zero.

Will fix it as the current code would end up in a infinite loop.
--
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/