Date: Thu, 14 May 2009 03:24:22 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_descrip.c sys_generic.c tty.c uipc_syscalls.c vfs_syscalls.c src/sys/sys filedesc.h Message-ID: <200905140327.n4E3RFHg023621@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2009-05-14 03:24:22 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c sys_generic.c tty.c uipc_syscalls.c vfs_syscalls.c sys/sys filedesc.h Log: SVN rev 192080 on 2009-05-14 03:24:22Z by jeff - Implement a lockless file descriptor lookup algorithm in fget_unlocked(). - Save old file descriptor tables created on expansion until the entire descriptor table is freed so that pointers may be followed without regard for expanders. - Mark the file zone as NOFREE so we may attempt to reference potentially freed files. - Convert several fget_locked() users to fget_unlocked(). This requires us to manage reference counts explicitly but reduces locking overhead in the common case. Revision Changes Path 1.349 +88 -33 src/sys/kern/kern_descrip.c 1.172 +4 -10 src/sys/kern/sys_generic.c 1.314 +7 -4 src/sys/kern/tty.c 1.277 +9 -16 src/sys/kern/uipc_syscalls.c 1.476 +5 -14 src/sys/kern/vfs_syscalls.c 1.79 +4 -0 src/sys/sys/filedesc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905140327.n4E3RFHg023621>