linux-mips
[Top] [All Lists]

Re: [PATCH] jump-label: initialize jump-label subsystem somewhat later

To: David Daney <ddaney.cavm@gmail.com>
Subject: Re: [PATCH] jump-label: initialize jump-label subsystem somewhat later
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Wed, 14 Dec 2011 17:51:10 +0100
Cc: ralf@linux-mips.org, Linus Torvalds <torvalds@linux-foundation.org>, Andrew Morton <akpm@linux-foundation.org>, linux-mips@linux-mips.org, Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>, linux-kernel@vger.kernel.org, Jason Baron <jbaron@redhat.com>, David Daney <david.daney@cavium.com>
In-reply-to: <1323881315-23245-1-git-send-email-ddaney.cavm@gmail.com>
References: <1323881315-23245-1-git-send-email-ddaney.cavm@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 2011-12-14 at 08:48 -0800, David Daney wrote:
> From: David Daney <david.daney@cavium.com>
> 
> 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?


<Prev in Thread] Current Thread [Next in Thread>