[patch 22/56] openmosix/openmosix-pre-kickstart_05.patch

Florian Delizy <[email protected]> Thu, 02 Nov 2006 22:56:31 +0100
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
Remove some unnecessary code and commented code right before
arch_kickstart is called.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
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/x-patch, 1 KB)
Remove some unnecessary code and commented code right before
arch_kickstart is called.
Index: linux/hpc/migrecv.c
===================================================================
--- linux.orig/hpc/migrecv.c	2006-11-02 22:52:03.000000000 +0100
+++ linux/hpc/migrecv.c	2006-11-02 22:52:04.000000000 +0100
@@ -560,26 +560,14 @@
 	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 0
-	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;
-	#endif
+	flush_signals(p);
 
-	clear_thread_flag(TIF_SIGPENDING);
-	/* flush_thread();*/
 	arch_kickstart(p);
 	/*NOTREACHED*/