More MP work.
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 26 May 2006 00:33:13 +0000 (00:33 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 26 May 2006 00:33:13 +0000 (00:33 +0000)
commitd9b2033e0de20e56097c9d9e9eab3f45fe1473be
treeb7bfc7a314119f4353da9d69dd312b80fc58399e
parent135bd6a8646913fa6067387fb8ce34a79af8514b
More MP work.

* Incorporate fd_knlistsize initialization into fsetfd().

* Mark all fileops vectors as MPSAFE (but get the mplock for most of them).
  Clean up a number of fileops routines, mainly *_ioctl().

* Make crget(), crhold(), and crfree() MPSAFE.  crfree still needs the mplock
  on the last release.  Give ucred a spinlock to handle the crfree()
  0 transition race.
sys/kern/kern_descrip.c
sys/kern/kern_event.c
sys/kern/kern_prot.c
sys/kern/sys_pipe.c
sys/kern/sys_socket.c
sys/kern/vfs_vnops.c
sys/opencrypto/cryptodev.c
sys/sys/ucred.h