From owner-cvs-all@FreeBSD.ORG Wed Nov 17 09:09:55 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4830216A4CE; Wed, 17 Nov 2004 09:09:55 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39F2A43D41; Wed, 17 Nov 2004 09:09:55 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iAH99tL6050243; Wed, 17 Nov 2004 09:09:55 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iAH99th5050242; Wed, 17 Nov 2004 09:09:55 GMT (envelope-from phk) Message-Id: <200411170909.iAH99th5050242@repoman.freebsd.org> From: Poul-Henning Kamp Date: Wed, 17 Nov 2004 09:09:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sys_generic.c sys_socket.c vfs_vnops.c src/sys/opencrypto cryptodev.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 09:09:55 -0000 phk 2004-11-17 09:09:55 UTC FreeBSD src repository Modified files: sys/kern sys_generic.c sys_socket.c vfs_vnops.c sys/opencrypto cryptodev.c Log: Push Giant down through ioctl. Don't grab Giant in the upper syscall/wrapper code NET_LOCK_GIANT in the socket code (sockets/fifos). mtx_lock(&Giant) in the vnode code. mtx_lock(&Giant) in the opencrypto code. (This may actually not be needed, but better safe than sorry). Devfs grabs Giant if the driver is marked as needing Giant. Revision Changes Path 1.139 +0 -7 src/sys/kern/sys_generic.c 1.66 +2 -0 src/sys/kern/sys_socket.c 1.216 +9 -61 src/sys/kern/vfs_vnops.c 1.23 +16 -3 src/sys/opencrypto/cryptodev.c