From owner-freebsd-current Tue Jan 7 18:53:22 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4DFA37B401; Tue, 7 Jan 2003 18:53:21 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F68343ED1; Tue, 7 Jan 2003 18:53:21 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.6/8.12.6) with ESMTP id h082qmro017421 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 7 Jan 2003 21:52:48 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h082qhJ60213; Tue, 7 Jan 2003 21:52:43 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15899.37499.534870.510847@grasshopper.cs.duke.edu> Date: Tue, 7 Jan 2003 21:52:43 -0500 (EST) To: John Baldwin Cc: Andrew Gallatin , freebsd-current@FreeBSD.org Subject: RE: mutexes and modules In-Reply-To: References: <15899.21130.772170.901252@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Baldwin writes: > > On 07-Jan-2003 Andrew Gallatin wrote: > > > > Are kernel modules pessimized in any way with respect to using > > mutexes as compared to statically compiled kernel code? > > > > I seem to remember some discussion a year or more ago indicating that > > they would be, but I'm not seeing it in the code. > > In the non debug case the quick cases are not inlined in modules but > are always function calls. Other than that there isn't much difference. Thanks John.. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message