Re: 2.6.14-rc3-rt2
From: Dinakar Guniguntala
Date: Tue Oct 04 2005 - 14:55:47 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/