Re: [PATCH 7/8] Remove current_tick_length()

From: Ray Lee
Date: Sat Mar 15 2008 - 12:30:17 EST


On Fri, Mar 14, 2008 at 9:18 PM, Roman Zippel <zippel@xxxxxxxxxxxxxx> wrote:
> > > > Is there any additional rational for this change?
> > >
> > > Useless bloat?
> >
> > I agree its a trade off. But do you have performance numbers to make the
> > maintainability trade off worth it? (I admit, it is used in the
> > timer_interrupt, so it may very well be worth it, but we might want to
> > check first).
>
> It depends on the architecture, but it's effects regularly executed code
> and every byte counts.

Then make the original function an inline. With -O2 it should compile
to exactly the same thing.
--
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/