From: Pavel Machek <pavel@ucw.cz>
To: torvalds@transmeta.com,
kernel list <linux-kernel@vger.kernel.org>,
Rusty trivial patch monkey Russell <trivial@rustcorp.com.au>,
ncunningham@clear.net.nz
Subject: swsusp: kill bogus wakeup warning
Date: Fri, 21 Feb 2003 10:48:50 +0100 [thread overview]
Message-ID: <20030221094850.GA18896@elf.ucw.cz> (raw)
Hi!
This kills 'bogus wakeup' warning from pdflush. Patch from Nigel,
please apply.
Pavel
--- clean/mm/pdflush.c 2003-02-15 18:51:31.000000000 +0100
+++ linux/mm/pdflush.c 2003-02-21 10:41:33.000000000 +0100
@@ -103,9 +103,11 @@
my_work->when_i_went_to_sleep = jiffies;
spin_unlock_irq(&pdflush_lock);
- if (current->flags & PF_FREEZE)
- refrigerator(PF_IOTHREAD);
schedule();
+ if (current->flags & PF_FREEZE) {
+ refrigerator(PF_IOTHREAD);
+ continue;
+ }
spin_lock_irq(&pdflush_lock);
if (!list_empty(&my_work->list)) {
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
next reply other threads:[~2003-02-21 9:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-21 9:48 Pavel Machek [this message]
2003-02-24 22:52 ` swsusp and S3 fixes Linus Torvalds
2003-02-24 23:11 ` 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=20030221094850.GA18896@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=ncunningham@clear.net.nz \
--cc=torvalds@transmeta.com \
--cc=trivial@rustcorp.com.au \
/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®