Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning

From: Jamie Lokier
Date: Fri Jan 09 2009 - 19:54:34 EST


Harvey Harrison wrote:
> Oh yeah, and figure out what actually breaks on alpha such that they added
> the following (arch/alpha/include/asm/compiler.h)
>
> #ifdef __KERNEL__
> /* Some idiots over in <linux/compiler.h> thought inline should imply
> always_inline. This breaks stuff. We'll include this file whenever
> we run into such problems. */

Does "always_inline" complain if the function isn't inlinable, while
"inline" allows it? That would explain the alpha comment.

-- Jamie
--
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/