mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* swsusp: kill bogus wakeup warning
@ 2003-02-21  9:48 Pavel Machek
  2003-02-24 22:52 ` swsusp and S3 fixes Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2003-02-21  9:48 UTC (permalink / raw)
  To: torvalds, kernel list, Rusty trivial patch monkey Russell, ncunningham

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?]

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

end of thread, other threads:[~2003-02-24 23:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-21  9:48 swsusp: kill bogus wakeup warning Pavel Machek
2003-02-24 22:52 ` swsusp and S3 fixes Linus Torvalds
2003-02-24 23:11   ` 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®