Re: arch/x86/include/asm/cmpxchg_32.h:149:9: error: inline assembly requires more registers than available
From: Linus Torvalds
Date: Sun Jun 23 2024 - 14:08:06 EST
On Sun, 23 Jun 2024 at 13:48, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Now, from having looked a bit at this, I can point you to the
> differences introduced by having to have the emulation fallback.
Ahh.
Itr does all the same things *and* it has
"S" (_ptr)
as an added register pressure, because if we take the "call
cmpxchg8b_emu", we need the address in a fixed place.
I don't see any immediately obvious workaround.
Linus