lkml.org 
[lkml]   [2006]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][-mm]kedac not stopped at suspend
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@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: 2006-01-11 13:44    [W:0.047 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site