On Tue, 25 Apr 2000, Jake Burkholder wrote:
> Has anyone thought about using kobj(9) for this?
>
> For example, it should be possible to make simple_lock and lockmgr locks
> safe for use from modules by introducing a lock_if.h, which has
> abstract version of all the lock routines. A class would be compiled
> with null implementations for UP, or the 'lock'ed implementations for SMP.
kobj is a nice interface (I'm converted my NLS kernel module to
use it), but may be unsuitable for lock family functions due to an
additinal overhead invloved in the method call. I think that the
empty-body functions will be more efficient in this case.
--
Boris Popov
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
- Re: SMP changes and breaking kld object module compat... Rodney W. Grimes
- Re: SMP changes and breaking kld object module compat... Jordan K. Hubbard
- Re: SMP changes and breaking kld object module compat... Rodney W. Grimes
- Re: SMP changes and breaking kld object module compat... Bruce Evans
- Re: SMP changes and breaking kld object module compat... Boris Popov
- Re: SMP changes and breaking kld object module compat... Bruce Evans
- Re: SMP changes and breaking kld object module compat... Jake Burkholder
- Re: SMP changes and breaking kld object module compat... Doug Rabson
- Re: SMP changes and breaking kld object module compat... Jake Burkholder
- Re: SMP changes and breaking kld object module compat... Doug Rabson
- Re: SMP changes and breaking kld object module compat... Boris Popov
- Re: SMP changes and breaking kld object module compat... Matthew Dillon
- Re: SMP changes and breaking kld object module compat... Matthew Dillon
- Re: SMP changes and breaking kld object module compat... Alfred Perlstein
- Re: SMP changes and breaking kld object module compat... Richard Wackerbarth
- Re: SMP changes and breaking kld object module compat... Kenneth Wayne Culver
- Re: SMP changes and breaking kld object module compat... Frank Mayhar
- Re: SMP changes and breaking kld object module compat... Mike Smith
- Re: SMP changes and breaking kld object module compat... Richard Wackerbarth
- Re: SMP changes and breaking kld object module compat... Brandon D. Valentine
- Re: SMP changes and breaking kld object module compat... Kenneth Wayne Culver
