Re: Oops in 2.5.64

Ingo Oeser (
Thu, 6 Mar 2003 12:59:07 +0100


On Thu, Mar 06, 2003 at 12:14:57AM -0800, Andrew Morton wrote:
> Cannot we just stick:
> #define inline __inline__ __attribute__((always_inline))
> in kernel.h?

I second this, because that's how we actually use this keyword in
the kernel. We don't mean "please inline, if you can" but
actually "inline it, or I'll force you harder!".

It doesn't look like at first glance, but it actually is the
cleanest solution for recent GCCs.

Even better would be a "-Winline-limit=X" to warn for the cases,
where we should review the tradeoff.


Ingo Oeser

Marketing ist die Kunst, Leuten Sachen zu verkaufen, die sie
nicht brauchen, mit Geld, was sie nicht haben, um Leute zu
beeindrucken, die sie nicht moegen.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at