On Wed, 11 Sep 2013 13:25:52 -0400
Konrad Rzeszutek Wilk <[email protected]> wrote:


> commit 97ce2c88f9ad42e3c60a9beb9fca87abf3639faa
> Author: Jeremy Fitzhardinge <[email protected]>
> Date:   Wed Oct 12 16:17:54 2011 -0700
> 
>     jump-label: initialize jump-label subsystem much earlier
>     
>     Initialize jump_labels much, much earlier, so they're available for use
>     during system setup.
>     
>     Signed-off-by: Jeremy Fitzhardinge <[email protected]>
>     Acked-by: Peter Zijlstra <[email protected]>
> 
> 
> implies that yes.

Unfortunately it does not. All that patch did was move
jump_label_init() up more. If anything, it implies "no".

The question is, can we enable jump_labels before jump_label_init()?

Note, we may still be able to (as it seems to work), the thing is, the
only thing that static_key_slow_inc() does is to tell jump_label_init()
to enable it. Before jump_label_init() is called, nothing has changed.
No code modification, all users of paravirt_ticketlocks_enabled are
still off.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to