From owner-cvs-all Tue Aug 6 4:28:13 2002 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 0052337B400; Tue, 6 Aug 2002 04:28:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A803A43E5E; Tue, 6 Aug 2002 04:28:10 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from freefall.freebsd.org (truckman@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g76BSAJU014428; Tue, 6 Aug 2002 04:28:10 -0700 (PDT) (envelope-from truckman@freefall.freebsd.org) Received: (from truckman@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g76BSAxT014427; Tue, 6 Aug 2002 04:28:10 -0700 (PDT) Message-Id: <200208061128.g76BSAxT014427@freefall.freebsd.org> From: Don Lewis Date: Tue, 6 Aug 2002 04:28:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sysctl.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG truckman 2002/08/06 04:28:10 PDT Modified files: sys/kern kern_sysctl.c Log: Don't automagically call vslock() from SYSCTL_OUT(). Instead, complain about calls to SYSCTL_OUT() made with locks held if the buffer has not been pre-wired. SYSCTL_OUT() should not be called while holding locks, but if this is not possible, the buffer should be wired by calling sysctl_wire_old_buffer() before grabbing any locks. Revision Changes Path 1.130 +2 -4 src/sys/kern/kern_sysctl.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message