Date: Fri, 15 Mar 2002 00:03:46 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c kern_ktrace.c sys_generic.c sys_socket.c vfs_bio.c vfs_vnops.c Message-ID: <200203150803.g2F83kG58307@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2002/03/15 00:03:46 PST Modified files: sys/kern kern_descrip.c kern_ktrace.c sys_generic.c sys_socket.c vfs_bio.c vfs_vnops.c Log: Giant pushdown for read/write/pread/pwrite syscalls. kern/kern_descrip.c: Aquire Giant in fdrop_locked when file refcount hits zero, this removes the requirement for the caller to own Giant for the most part. kern/kern_ktrace.c: Aquire Giant in ktrgenio, simplifies locking in upper read/write syscalls. kern/vfs_bio.c: Aquire Giant in bwillwrite if needed. kern/sys_generic.c Giant pushdown, remove Giant for: read, pread, write and pwrite. readv and writev aren't done yet because of the possible malloc calls for iov to uio processing. kern/sys_socket.c Grab giant in the socket fo_read/write functions. kern/vfs_vnops.c Grab giant in the vnode fo_read/write functions. Revision Changes Path 1.128 +2 -0 src/sys/kern/kern_descrip.c 1.61 +3 -0 src/sys/kern/kern_ktrace.c 1.94 +0 -8 src/sys/kern/sys_generic.c 1.38 +12 -2 src/sys/kern/sys_socket.c 1.303 +2 -0 src/sys/kern/vfs_bio.c 1.139 +7 -1 src/sys/kern/vfs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203150803.g2F83kG58307>