From owner-cvs-src-old@FreeBSD.ORG Mon Dec 1 19:29:51 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD05E1065673 for ; Mon, 1 Dec 2008 19:29:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 95AB08FC08 for ; Mon, 1 Dec 2008 19:29:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mB1JTpPR000175 for ; Mon, 1 Dec 2008 19:29:51 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mB1JTpBG000174 for cvs-src-old@freebsd.org; Mon, 1 Dec 2008 19:29:51 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200812011929.mB1JTpBG000174@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Mon, 1 Dec 2008 19:29:47 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_6 Subject: cvs commit: src/sys/kern vfs_aio.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 19:29:51 -0000 jhb 2008-12-01 19:29:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern vfs_aio.c Log: SVN rev 185528 on 2008-12-01 19:29:47Z by jhb Expand the scope of the 'aio_freeproc_mtx' lock to protect the aio data structures used in the socket upcall. This removes the need for Giant to be held for the aio socket upcall and thus the need for NET_NEEDS_GIANT() for AIO in 6.x. Note that this is not an MFC of the locking in 7.x+ as the AIO code in 7.x is substantially different from that in 6.x. Revision Changes Path 1.195.2.5 +38 -12 src/sys/kern/vfs_aio.c