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

Florian Delizy <[email protected]> Mon, 25 Sep 2006 17:35:25 +0200
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
(updated to work on the top of the patch tree)

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/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-09-25 17:04:20.000000000 +0200
+++ linux/hpc/migrecv.c	2006-09-25 17:13:39.000000000 +0200
@@ -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*/