patch comments [5/5]

"Matt Dew" <[email protected]> Fri, 22 Sep 2006 15:31:48 -0600
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
Remove some unnecessary code and commented code right before
arch_kickstart is called.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
openMosix-devel mailing list
openMosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/openmosix-devel
openmosix-pre-kickstart_05.patch (text/plain, 987 B)
--- a/hpc/migrecv.c	2006-09-22 15:20:31.000000000 -0600
+++ b/hpc/migrecv.c	2006-09-22 15:21:08.000000000 -0600
@@ -568,26 +568,10 @@
 	if (error)
 		goto fail;
 
-	// clear_tsk_thread_flag(p, TIF_SIGPENDING); // Added by MSD ???
-	// init_sigpending(&p->pending); // Added by MSD ????
-
-	// OM_VERBOSE_MIG("[OM] starting process(%d)\n", p->pid);
+	OM_VERBOSE_MIG("[OM] starting process(%d)\n", p->pid);
 	set_current_state(TASK_RUNNING);
-	// set_current_state(TASK_INTERRUPTIBLE);
 	schedule();
-	if (task_test_dflags(p, DREMOTE)) 
-	printk("[OM] starting remote process(%d)\n", p->pid);
-	else
-	printk("[OM] starting local process(%d)\n", p->pid);
-	// flush_signals(p); //MSDMSD
-	// reparent_to_init(); //MSD
-	// cap_clear(p->cap_permitted);
-	// cap_clear(p->cap_effective);
-	// cap_task_reparent_to_init(p);
-	// p->cap_permitted=0;
-	// p->cap_effective=0;
-	clear_thread_flag(TIF_SIGPENDING);
-	// flush_thread();
+	flush_signals(p);
 	arch_kickstart(p);
 	/*NOTREACHED*/