mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH][-mm]kedac not stopped at suspend
  2006-01-10  3:01 [PATCH][-mm]kedac not stopped at suspend Shaohua Li
@ 2006-01-06 20:28 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2006-01-06 20:28 UTC (permalink / raw)
  To: Shaohua Li; +Cc: lkml, Andrew Morton

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH][-mm]kedac not stopped at suspend
@ 2006-01-10  3:01 Shaohua Li
  2006-01-06 20:28 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Shaohua Li @ 2006-01-10  3:01 UTC (permalink / raw)
  To: lkml; +Cc: Andrew Morton, Pavel Machek

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);
 
_



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-11 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-10  3:01 [PATCH][-mm]kedac not stopped at suspend Shaohua Li
2006-01-06 20:28 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®