Re: Can I use static keys from asm?

From: Peter Zijlstra
Date: Mon Aug 17 2015 - 22:24:36 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/