Re: [PATCH 11/14] hrtimer: remove active_bases field from struct hrtimer_cpu_base

From: Viresh Kumar
Date: Thu Mar 27 2014 - 00:31:01 EST


On 26 March 2014 22:58, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> Instead of removing it we should actually use ffs and avoid the whole
> looping. That was the intention in the first place, but I never wrote
> the patch...

I thought about that and then using ffs for a field of which only 4 bits
are useful didn't looked too convincing to me :)

But, probably it will make things slightly better in case this routine is
heavily used.
--
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/