Re: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U2

From: Adam Heath (doogie_at_debian.org)
Date: 10/15/04

  • Next message: Rusty Russell (IBM): "Re: Fw: signed kernel modules?"
    Date:	Thu, 14 Oct 2004 19:53:37 -0500 (CDT)
    To: Ingo Molnar <mingo@elte.hu>
    
    

    On Thu, 14 Oct 2004, Adam Heath wrote:

    > On Thu, 14 Oct 2004, Adam Heath wrote:
    >
    > > On Fri, 15 Oct 2004, Ingo Molnar wrote:
    > >
    > > >
    > > > i have released the -U2 PREEMPT_REALTIME patch:
    > > >
    > > > http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.9-rc4-mm1-U2
    > >
    > > kernel/latency.c: In function `add_preempt_count':
    > > kernel/latency.c:390: error: structure has no member named `preempt_trace_eip'
    > > kernel/latency.c:394: error: structure has no member named `preempt_trace_parent_eip'
    >
    > Here's a patch:
    >
    > --- kernel/latency.c.orig 2004-10-14 19:36:26.000000000 -0500
    > +++ kernel/latency.c 2004-10-14 19:33:30.000000000 -0500
    > @@ -387,11 +387,9 @@
    > if (val <= 10) {
    > unsigned int idx = preempt_count() & PREEMPT_MASK;
    > if (idx < MAX_PREEMPT_TRACE) {
    > - current->preempt_trace_eip[idx] = eip;
    > #ifdef CONFIG_LATENCY_TRACE
    > + current->preempt_trace_eip[idx] = eip;
    > current->preempt_trace_parent_eip[idx] = parent_eip;
    > -#else
    > - current->preempt_trace_parent_eip[idx] = 0;
    > #endif
    > }
    > }
    > --

    How do you set that config option? I only see it in .c and .h files.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Rusty Russell (IBM): "Re: Fw: signed kernel modules?"

    Relevant Pages

    • Re: [2.6 patch] dont allow users to set CONFIG_BROKEN=y
      ... the menus to look for something matching your hardware is nice, even if that something is marked BROKEN at least you've then found a place to start working on. ... or do you intend to have a bunch of patches that remove BROKEN for a config option so that people can test them during the -rc and then add it back for them all before a real release? ... nobody will be able to test that patch unless they are willing ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Athlon/Opteron Prefetch Fix for 2.6.0test5 + numbers
      ... But it's a bit of a pain finding a config option which says ... I just liked this patch because apparently it fixes userspace as ... Disabling prefetch for the kernel doesn't. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: log-buf-len dynamic
      ... I really didn't want to say your patch didn't make any good, ... further on the current code to make the config option still usable. ... If you can explain me _why_ you don't want to pass the kernel parameter ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] make uselib configurable (was Re: uselib() & 2.6.X?)
      ... > Here's an initial stab at such a patch. ... It adds a new config option, ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: CONFIG_4KSTACKS in mm2?
      ... here is the patch to reenable the menu config option ... ... over the universities first nuclear research site? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)