Re: [PATCH] cpumask fallout: Initialize irq_default_affinity earlier.

From: Rusty Russell
Date: Sat Jan 10 2009 - 00:11:38 EST


On Friday 09 January 2009 07:26:59 Linus Torvalds wrote:
>
> On Thu, 8 Jan 2009, David Daney wrote:
> >
> > The 'inline' seems gratuitous to me. Since it is static GCC should do
> > the Right Thing. However since you suggested it, I am testing it that
> > way.
>
> Trust me, gcc very seldom does the Right Thing(tm) when it comes to
> inlining.
>
> Linus

Note that there's a downside: with inline funcs in .c files you don't get
a warning should they become unused in future cleanups.

Cheers,
Rusty.
--
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/