Mark various forms of read() and write() MPSAFE. Note that the MP lock is
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 27 May 2006 20:17:17 +0000 (20:17 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 27 May 2006 20:17:17 +0000 (20:17 +0000)
commitf832287e48b0c3200a0ca46c5b85f9b98f5a095e
treebad52daef62e1f830232e01619bfa6372535ca88
parent16338e2da7a7f47d0f40249e288c80072fff2150
Mark various forms of read() and write() MPSAFE.  Note that the MP lock is
still acquire, but now its a lot deeper in the fileops.

Mark dup(), dup2(), close(), closefrom(), and fcntl() MPSAFE.  Some code
paths don't have to get the MP lock, but most still do deeper into the
fileops.
14 files changed:
sys/kern/init_sysent.c
sys/kern/kern_subr.c
sys/kern/sys_generic.c
sys/kern/syscalls.c
sys/kern/syscalls.master
sys/kern/vfs_bio.c
sys/kern/vfs_lock.c
sys/sys/syscall-args
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h
sys/sys/uio.h