Date: Wed, 26 Apr 2000 08:16:49 +0700 (ALMST) From: Boris Popov <bp@butya.kz> To: Jake Burkholder <jburkhol@home.com> Cc: Bruce Evans <bde@zeta.org.au>, freebsd-current@FreeBSD.ORG Subject: Re: SMP changes and breaking kld object module compatibility Message-ID: <Pine.BSF.4.10.10004260810380.18559-100000@lion.butya.kz> In-Reply-To: <20000425160340.AE322BCA7@io.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 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?Pine.BSF.4.10.10004260810380.18559-100000>