lkml.org 
[lkml]   [2005]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.14-rc3-rt2
    On Tue, Oct 04, 2005 at 11:27:46AM -0700, Daniel Walker wrote:
    >
    > This patch should handle both cases . I would think if this doesn't
    > silence it, then it's something else..


    Daniel, This works for me !
    Thanks for fixing this

    -Dinakar


    >
    > Index: linux-2.6.13/arch/i386/kernel/apic.c
    > ===================================================================
    > --- linux-2.6.13.orig/arch/i386/kernel/apic.c
    > +++ linux-2.6.13/arch/i386/kernel/apic.c
    > @@ -1153,6 +1153,14 @@ fastcall notrace void smp_apic_timer_ipi
    > #if 0
    > profile_tick(CPU_PROFILING, regs);
    > #endif
    > + /*
    > + * If the task is currently running in user mode, don't
    > + * detect soft lockups. If CONFIG_DETECT_SOFTLOCKUP is not
    > + * configured, this should be optimized out.
    > + */
    > + if (user_mode(regs))
    > + touch_light_softlockup_watchdog();
    > +
    > update_process_times(user_mode_vm(regs));
    > irq_exit();
    >
    > @@ -1247,6 +1255,14 @@ inline void smp_local_timer_interrupt(st
    > per_cpu(prof_counter, cpu);
    > }
    > #ifdef CONFIG_SMP
    > + /*
    > + * If the task is currently running in user mode, don't
    > + * detect soft lockups. If CONFIG_DETECT_SOFTLOCKUP is not
    > + * configured, this should be optimized out.
    > + */
    > + if (user_mode(regs))
    > + touch_light_softlockup_watchdog();
    > +
    > update_process_times(user_mode_vm(regs));
    > #endif
    > }
    >
    >
    -
    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/

    \
     
     \ /
      Last update: 2005-10-04 21:57    [W:0.032 / U:61.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site