From: Peter Zijlstra Subject: Re: [PATCH RFC V4 10/10] jump-label: initialize jump-label subsystem much earlier Date: Thu, 13 Oct 2011 12:43:48 +0200 Message-ID: <1318502628.24856.10.camel@twins> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Jeremy Fitzhardinge Cc: Steven Rostedt , "David S. Miller" , David Daney , Michael Ellerman , Jan Glauber , Jason Baron , the arch/x86 maintainers , Xen Devel , Linux Kernel Mailing List , Ingo Molnar , "H. Peter Anvin" , Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org On Wed, 2011-10-12 at 17:08 -0700, Jeremy Fitzhardinge wrote: > From: Jeremy Fitzhardinge > > Initialize jump_labels much earlier, we can use them. We can use them, where? how? what?, that sentence just begs for more. > diff --git a/init/main.c b/init/main.c > index 2a9b88a..f4094ed 100644 > --- a/init/main.c > +++ b/init/main.c > @@ -637,6 +637,7 @@ asmlinkage void __init start_kernel(void) > acpi_early_init(); /* before LAPIC and SMP init */ > sfi_init_late(); > > + jump_label_init(); > ftrace_init(); > > /* Do the rest non-__init'ed, we're now alive */ Can we push them much earlier still? If possible I'd like them to be before sched_init() so that I might use them there, if not possible, at the very least before enabling interrupts would be nice.