Re: [PATCH] powerpc: Add jump label support

From: Michael Ellerman
Date: Mon Nov 08 2010 - 22:33:10 EST


On Mon, 2010-11-08 at 09:18 -0500, Steven Rostedt wrote:
> On Mon, 2010-11-08 at 15:12 +1100, Michael Ellerman wrote:
> > This patch adds support for the new "jump label" feature.
>
> Darn it! I wanted to port this!!!
>
> ;-)

Sorry! I've been locked in a dark room for ages and this was a nice
chance to work on some upstream code for a change :)

> > Built for 64 & 32 bit, tested on 64 bit. Survives a kernel build under
> > perf with all tracepoints enabled, and manual inspection of the patched
> > code looks right. But still, lightly tested, YMMV.
> >
> > Unlike x86 and sparc we just merrily patch the code with no locks etc,
> > as far as I know this is safe, but I'm not really sure what the x86/sparc
> > code is protecting against so maybe it's not.
>
> Thanks, I'll give it a test on my electra as soon as I get a gcc 4.5.1
> cross compiler working.

Thanks.

cheers


Attachment: signature.asc
Description: This is a digitally signed message part