lkml.org 
[lkml]   [2004]   [Nov]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 25 Nov 2004 19:19:54 +0100
FromPavel Machek <>
SubjectRe: Suspend 2 merge: 17/51: Disable MCE checking during suspend.
Hi!

> Avoid a potential SMP deadlock here.

..and loose MCE report.
				Pavel

> @@ -57,7 +58,8 @@
> 
>  static void mce_work_fn(void *data)
>  { 
> -	on_each_cpu(mce_checkregs, NULL, 1, 1);
> +	if (!test_suspend_state(SUSPEND_RUNNING))
> +		on_each_cpu(mce_checkregs, NULL, 1, 1);
>  	schedule_delayed_work(&mce_work, MCE_RATE);
>  } 
> 
-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         

-
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-03-22 14:08    [from the cache]
©2003-2008