All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Andy Lutomirski <luto@amacapital.net>
Cc: "Frédéric Weisbecker" <fweisbec@gmail.com>,
	"Borislav Petkov" <bp@alien8.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Can I use static keys from asm?
Date: Tue, 18 Aug 2015 04:24:28 +0200	[thread overview]
Message-ID: <20150818022428.GH20948@worktop> (raw)
In-Reply-To: <CALCETrWzSDe6SiU_nUK+vZcHKbWGbmujVdnQFDMFsG=1O-ofqA@mail.gmail.com>

On Mon, Aug 17, 2015 at 06:34:08PM -0700, Andy Lutomirski wrote:
> 2. Context tracking enabled in config but completely disabled at
> runtime.  Distros do this.  I want to nop out the context tracking
> hooks.  We have a static_key for this, but half the hooks are in asm.

> To unsuck case 2, static keys in asm would help.  Can I do that?  It
> would be even better if I could do that in 4.3.

I think Anton did a number of patches to enable static_key usage in asm
on PowerPC. x86 would need a bit of work but nothing makes it
fundamentally impossible.

      reply	other threads:[~2015-08-18  2:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18  1:34 Can I use static keys from asm? Andy Lutomirski
2015-08-18  2:24 ` Peter Zijlstra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150818022428.GH20948@worktop \
    --to=peterz@infradead.org \
    --cc=bp@alien8.de \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.