All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: don't freeze firewire on suspend.
Date: Thu, 5 Jan 2006 01:18:11 -0500	[thread overview]
Message-ID: <20060105061810.GA10700@redhat.com> (raw)

We had a report from one loony user who tried out suspend to disk
using a swap partition on a firewire drive.  As the firewire thread
was put to sleep it didn't work out too well.

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6/drivers/ieee1394/ieee1394_core.c~	2005-10-06 00:18:56.000000000 -0400
+++ linux-2.6/drivers/ieee1394/ieee1394_core.c	2005-10-06 00:19:21.000000000 -0400
@@ -1030,6 +1030,8 @@ static int hpsbpkt_thread(void *__hi)
 
 	daemonize("khpsbpkt");
 
+	current->flags |= PF_NOFREEZE;
+
 	while (1) {
 		if (down_interruptible(&khpsbpkt_sig)) {
 			if (try_to_freeze())

                 reply	other threads:[~2006-01-05  6:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20060105061810.GA10700@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.