cvs commit: src/sys/kern kern_fork.c kern_proc.c src/sys/sys proc.h src/sys/vfs/procfs procfs_vnops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed May 24 12:03:16 PDT 2006
dillon 2006/05/24 11:59:51 PDT
DragonFly src repository
Modified files:
sys/kern kern_fork.c kern_proc.c
sys/sys proc.h
sys/vfs/procfs procfs_vnops.c
Log:
Move the code that inserts a new process into the allproc list into its
own procedure, proc_add_allproc(). Make it MPSAFE.
Integrate pid generation for the new process into proc_add_allproc(), move
all related code from kern_fork.c to kern_proc.c.
Change procfs to use the new allproc scanning function.
Revision Changes Path
1.49 +25 -112 src/sys/kern/kern_fork.c
1.25 +128 -3 src/sys/kern/kern_proc.c
1.78 +1 -0 src/sys/sys/proc.h
1.32 +97 -66 src/sys/vfs/procfs/procfs_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.48&r2=1.49&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_proc.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.77&r2=1.78&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_vnops.c.diff?r1=1.31&r2=1.32&f=u
More information about the Commits
mailing list