[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190323143518.GB18020@tassilo.jf.intel.com>
Date: Sat, 23 Mar 2019 07:35:18 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Andi Kleen <andi@...stfloor.org>, x86@...nel.org,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 11/17] x86/kprobes: Make trampoline_handler global and
visible
On Sat, Mar 23, 2019 at 06:45:21PM +0900, Masami Hiramatsu wrote:
> On Thu, 21 Mar 2019 15:00:03 -0700
> Andi Kleen <andi@...stfloor.org> wrote:
>
> > From: Andi Kleen <ak@...ux.intel.com>
> >
> > This function is referenced from assembler, so in LTO
> > it needs to be global and visible to not be optimized away.
> >
>
> I got it.
>
> Acked-by: Masami Hiramatsu <mhiramat@...nel.org>
>
> Andi, out of curiousity, that is not only for x86, but
> does all arch have to care it?
Yes all architectures need it for LTO, but I currently
only test x86. There are some other people who made it work
on ARM / MIPS / PowerPC before.
-Andi
Powered by blists - more mailing lists