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

Linus Torvalds
2009-01-09T16:38:22Z

On Fri, 9 Jan 2009, H. Peter Anvin wrote:
>
> __asm_inline was my suggestion, to distinguish "inline this
> unconditionally because gcc screws up in the presence of asm()"

THERE IS NO ASM IN THERE!

Guys, look at the code. No asm. The whole notion that gcc gets confused by
inline asms IS BOGUS. It's simply not TRUE. Gcc gets confused because gcc
is confused, and it has NOTHING to do with inline asms.

So please don't confuse things further.

Linus