[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BF0C5636-3EFC-4D57-9019-3EB209E56D2C@zytor.com>
Date: Fri, 18 May 2018 11:33:51 -0700
From: hpa@...or.com
To: Linus Torvalds <torvalds@...ux-foundation.org>, namit@...are.com
CC: Peter Zijlstra <peterz@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
the arch/x86 maintainers <x86@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [PATCH 2/6] x86: bug: prevent gcc distortions
On May 18, 2018 11:25:32 AM PDT, Linus Torvalds <torvalds@...ux-foundation.org> wrote:
>On Fri, May 18, 2018 at 10:24 AM Nadav Amit <namit@...are.com> wrote:
>
>> Will it be ok just to use a global inline asm to set an “.include”
>directive
>> that gas would later process? (I can probably wrap it in a C macro so
>it
>> won’t be too disgusting)
>
>Maybe. I'd almost prefer it to be the automatic kind of thing that we
>already do for C files using "-include".
>
> Linus
Unfortunately gcc doesn't guarantee that global assembly inlines will appear at the top of the file.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Powered by blists - more mailing lists