PERFORCE change 125461 for review
Jesper Brix Rosenkilde
jbr at FreeBSD.org
Mon Aug 20 15:01:11 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=125461
Change 125461 by jbr at jbr_bob on 2007/08/20 22:00:20
clean up
Affected files ...
.. //depot/projects/soc2007/jbr-syscall/src/sys/kern/kern_fork.c#6 edit
.. //depot/projects/soc2007/jbr-syscall/src/sys/vm/vm_glue.c#5 edit
Differences ...
==== //depot/projects/soc2007/jbr-syscall/src/sys/kern/kern_fork.c#6 (text+ko) ====
@@ -90,6 +90,7 @@
{
int error;
struct proc *p2;
+
error = fork1(td, RFFDG | RFPROC, 0, &p2);
if (error == 0) {
@@ -730,6 +731,7 @@
thread_single_end();
PROC_UNLOCK(p1);
}
+
/*
* Return child proc pointer to parent.
*/
==== //depot/projects/soc2007/jbr-syscall/src/sys/vm/vm_glue.c#5 (text+ko) ====
@@ -542,6 +542,7 @@
if (p1->p_vmspace->vm_shm)
shmfork(p1, p2);
}
+
/*
* cpu_fork will copy and update the pcb, set up the kernel stack,
* and make the child ready to run.
More information about the p4-projects
mailing list