Re: [PATCH][-mm]kedac not stopped at suspend

From: Pavel Machek
Date: Wed Jan 11 2006 - 07:40:21 EST


On Tue 10-01-06 11:01:01, Shaohua Li wrote:
> kedac thread doesn't stop at suspend time.
> http://bugzilla.kernel.org/show_bug.cgi?id=5849
>
> Thanks,
> Shaohua
> ---
>
> linux-2.6.15-root/drivers/edac/edac_mc.c | 2 ++
> 1 files changed, 2 insertions(+)
>
> diff -puN drivers/edac/edac_mc.c~edac drivers/edac/edac_mc.c
> --- linux-2.6.15/drivers/edac/edac_mc.c~edac 2006-01-09 09:47:18.000000000 +0800
> +++ linux-2.6.15-root/drivers/edac/edac_mc.c 2006-01-09 09:59:26.000000000 +0800
> @@ -2072,6 +2072,8 @@ static int edac_kernel_thread(void *arg)
> if(signal_pending(current))
> flush_signals(current);
>
> + try_to_freeze();
> +
> /* ensure we are interruptable */
> set_current_state(TASK_INTERRUPTIBLE);

Should be already fixed....

Pavel
--
Thanks, Sharp!
-
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/