DragonFly commits List (threaded) for 2006-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern kern_fork.c kern_proc.c src/sys/sys proc.h src/sys/vfs/procfs procfs_vnops.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]