Thread (35 messages) 35 messages, 6 authors, 2005-07-03

Re: [RFC] Fix SMP brokenness for PF_FREEZE and make freezing usable for other purposes

From: Nigel Cunningham <hidden>
Date: 2005-06-26 10:53:09
Also in: lkml

Hi!

On Sun, 2005-06-26 at 12:30, Pavel Machek wrote:
quoted
Index: linux-2.6.12/arch/i386/kernel/signal.c
===================================================================
--- linux-2.6.12.orig/arch/i386/kernel/signal.c	2005-06-25 05:01:26.000000000 +0000
+++ linux-2.6.12/arch/i386/kernel/signal.c	2005-06-25 05:01:28.000000000 +0000
@@ -608,10 +608,8 @@ int fastcall do_signal(struct pt_regs *r
 	if (!user_mode(regs))
 		return 1;
 
-	if (current->flags & PF_FREEZE) {
-		refrigerator(0);
+	if (try_to_freeze)
 		goto no_signal;
-	}
 
This is not good. Missing ().
Thanks!

I was just going to begin a search to find out why, after applying it,
everything stopped dead in the water :>

Nigel

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help