[SSI] openssi/kernel/kernel pid.c,1.8,1.9
Roger Tsang <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/kernel
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3377
Modified Files:
Tag: OPENSSI-FC
pid.c
Log Message:
- switch_exec_pids() revert switch vproc pids. glibc tst-exec4 passes and vproc structs are cleaned up properly when we don't switch vproc pids.
Index: pid.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/kernel/pid.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- pid.c 27 Oct 2009 03:18:30 -0000 1.8
+++ pid.c 5 Nov 2009 07:33:38 -0000 1.9
@@ -300,6 +300,10 @@
leader->pid = leader->tgid = thread->pid;
thread->pid = thread->tgid;
#ifdef VPROC
+ /* NB: There is no need to switch vproc pids.
+ * glibc tst-exec4 passes with no stale vproc handles.
+ */
+#if 0
/* SSI_XXX: bad refcnt after switching vproc pids.
* Also have to mangle origin ?
*/
@@ -323,6 +327,7 @@
list_add_rcu(&leader->p_vproc->vp_list, &vproc_hash[VPROCPIDHASH(leader->pid)]);
VPROC_LIST_UNLOCK();
#endif
+#endif
leader->epid = thread->epid;
thread->epid = thread->pid;
#endif /* VPROC */
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july