Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jan 2003 17:43:22 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-current@freebsd.org
Subject:   RE: mutexes and modules
Message-ID:  <XFMail.20030107174322.jhb@FreeBSD.org>
In-Reply-To: <15899.21130.772170.901252@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030107174322.jhb>