Re: 2.6.14-rc3-rt2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux