mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shaohua Li <shaohua.li@intel.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>, Pavel Machek <pavel@ucw.cz>
Subject: [PATCH][-mm]kedac not stopped at suspend
Date: Tue, 10 Jan 2006 11:01:01 +0800	[thread overview]
Message-ID: <1136862067.5435.4.camel@sli10-desk.sh.intel.com> (raw)

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



             reply	other threads:[~2006-01-10  3:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10  3:01 Shaohua Li [this message]
2006-01-06 20:28 ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1136862067.5435.4.camel@sli10-desk.sh.intel.com \
    --to=shaohua.li@intel.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®