Date: Wed, 1 Jul 2009 20:43:46 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sys_generic.c Message-ID: <200907012044.n61Ki8OB058193@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2009-07-01 20:43:46 UTC
FreeBSD src repository
Modified files:
sys/kern sys_generic.c
Log:
SVN rev 195259 on 2009-07-01 20:43:46Z by jeff
- Use fd_lastfile + 1 as the upper bound on nd. This is more correct than
using the size of the descriptor array.
- A lock is not needed to fetch fd_lastfile. The results are stale the
instant it is dropped.
- Use a private mutex pool for select since the pool mutex is not used
as a leaf.
- Fetch the si_mtx pointer first before resorting to hashing to compute
the mutex address.
Reviewed by: McKusick
Approved by: re (kib)
Revision Changes Path
1.174 +8 -6 src/sys/kern/sys_generic.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907012044.n61Ki8OB058193>
