* Make falloc() MPSAFE. filehead (the file list) and nfiles are now
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 26 May 2006 02:26:26 +0000 (02:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 26 May 2006 02:26:26 +0000 (02:26 +0000)
commit2dd6375554c29895ad8e621d1e3301ac6754f3a4
treea198ebe0d06b58420c40ef19993400d6357e7ecb
parentd9b2033e0de20e56097c9d9e9eab3f45fe1473be
* 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.
sys/kern/kern_descrip.c
sys/kern/uipc_usrreq.c
sys/sys/file.h
sys/sys/filedesc.h
sys/sys/spinlock.h