Re: Can I use static keys from asm?

2015-08-17 Thread Peter Zijlstra
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,

Can I use static keys from asm?

2015-08-17 Thread Andy Lutomirski
I have the following silly problem: For kernels with context tracking compiled in, we need to call the context tracking hooks if context tracking is enabled. There are four interesting cases: 1. Context tracking disabled in config. This is easy to handle. 2. Context tracking enabled in config

Can I use static keys from asm?

2015-08-17 Thread Andy Lutomirski
I have the following silly problem: For kernels with context tracking compiled in, we need to call the context tracking hooks if context tracking is enabled. There are four interesting cases: 1. Context tracking disabled in config. This is easy to handle. 2. Context tracking enabled in config

Re: Can I use static keys from asm?

2015-08-17 Thread Peter Zijlstra
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