[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wiL8J8v3+XKJGM4Ro83UqJTh7q0GD9UUYrDnwx24jR83A@mail.gmail.com>
Date: Wed, 9 Apr 2025 14:20:55 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>, x86@...nel.org, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH RFC 4/5] x86/alternative: Improve code generation readability
On Wed, 9 Apr 2025 at 12:51, Josh Poimboeuf <jpoimboe@...nel.org> wrote:
>
> What if we were to use a global asm() to define an alternative .macro
> whenever "alternative.h" gets included?
Yeah, I wouldn't mind that, but I have this dim memory of us having
tried it at some point and it didn't work.
I think the issue was that the in-compiler assembler was not as
complete as the external one (ie not doing macros at all or something
like that).
Linus
Powered by blists - more mailing lists