Re: [PATCH] jump-label: initialize jump-label subsystem somewhatlater

From: Peter Zijlstra
Date: Wed Dec 14 2011 - 11:55:47 EST


On Wed, 2011-12-14 at 08:48 -0800, David Daney wrote:
> From: David Daney <david.daney@xxxxxxxxxx>
>
> commit 97ce2c88f9ad42e3c60a9beb9fca87abf3639faa breaks MIPS.
>
> The jump-lable initialization does I-Cache flushing after modifying
> code. On MIPS this is done by calling through the function pointer
> flush_icache_range(). This function pointer is initialized mm_init().
>
> As things stand, we cannot be calling jump_label_init() until after
> mm_init() completes, so we move the call down to satisfy this
> constraint.

I'm fine as long as it stays before sched_init(), which it does. Jeremy
is this still early enough for you?

--
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/