Date: Fri, 9 Jul 2004 11:43:37 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c Message-ID: <200407091143.i69Bhbvt053927@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2004-07-09 11:43:37 UTC
FreeBSD src repository
Modified files:
sys/fs/pseudofs pseudofs_vnops.c
Log:
Accumulate directory entries in a fixed-length sbuf, and uiomove them in
one go before returning. This avoids calling uiomove() while holding
allproc_lock.
Don't adjust uio->uio_offset manually, uiomove() does that for us.
Don't drop allproc_lock before calling panic().
Suggested by: alfred
Revision Changes Path
1.44 +10 -8 src/sys/fs/pseudofs/pseudofs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407091143.i69Bhbvt053927>
