cvs commit: src/sys/kern kern_descrip.c uipc_usrreq.c src/sys/sys file.h filedesc.h spinlock.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu May 25 19:34:25 PDT 2006
dillon 2006/05/25 19:26:26 PDT
DragonFly src repository
Modified files:
sys/kern kern_descrip.c uipc_usrreq.c
sys/sys file.h filedesc.h spinlock.h
Log:
* Make falloc() MPSAFE. filehead (the file list) and nfiles are now
static and fully MPSAFE.
* Add a MPSAFE procedure which scans all struct file's in the system.
* Substantially rework unp_gc(). It is not quite MPSAFE yet, but all of
its struct file accesses and file list scanning should be.
Revision Changes Path
1.65 +38 -5 src/sys/kern/kern_descrip.c
1.26 +203 -122 src/sys/kern/uipc_usrreq.c
1.20 +20 -16 src/sys/sys/file.h
1.19 +1 -0 src/sys/sys/filedesc.h
1.5 +2 -0 src/sys/sys/spinlock.h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.64&r2=1.65&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/file.h.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/filedesc.h.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/spinlock.h.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list