Date: Mon, 4 Aug 2003 14:28:57 -0700 (PDT) From: David Malone <dwmalone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c uipc_syscalls.c Message-ID: <200308042128.h74LSvNM055568@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2003/08/04 14:28:57 PDT
FreeBSD src repository
Modified files:
sys/kern kern_descrip.c uipc_syscalls.c
Log:
Do some minor Giant pushdown made possible by copyin, fget, fdrop,
malloc and mbuf allocation all not requiring Giant.
1) ostat, fstat and nfstat don't need Giant until they call fo_stat.
2) accept can copyin the address length without grabbing Giant.
3) sendit doesn't need Giant, so don't bother grabbing it until kern_sendit.
4) move Giant grabbing from each indivitual recv* syscall to recvit.
Revision Changes Path
1.213 +6 -6 src/sys/kern/kern_descrip.c
1.153 +8 -13 src/sys/kern/uipc_syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308042128.h74LSvNM055568>
