mutexes and modules

2003-01-07 Thread Andrew Gallatin

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.

Thanks,

Drew

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



RE: mutexes and modules

2003-01-07 Thread John Baldwin

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 [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



RE: mutexes and modules

2003-01-07 Thread Andrew Gallatin

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 [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message