Re: [PATCH] x86/asm: avoid mnemonics without type suffix

Andi Kleen
2013-07-14T21:14:54Z

I think best would be to just find some way to implement LOCK prefix
patching using atomic compiler intrinsics and then switch to those

Then all this inline assembler horror could be ifdef'ed away
for old compilers only, and likely the generated code would
be better as the compiler could optimize more.

Or just give up on LOCK patching, as single CPU systems
and VMs are less and less interesting?

-Andi
--
ak@linux.intel.com -- Speaking for myself only