Subject: Re: NetBSD & FreeBSD kernel API sync (incomplete proposal)
To: None <>
From: Jaromír Doleček <>
List: tech-kern
Date: 07/23/2000 10:42:46
Jason R Thorpe wrote:
> Actually... what would the FreeBSD smbfs be using spinlocks for?  I could
> understand simplelocks, but lockmgr-style spinlocks don't exactly make
> sense (you should always have a process context in a file system).

There is also some networking code as part of the smbfs. I don't
pretend I understand it completely - I worked on making it compilable
at this moment :) It uses some "spinlocks" and looked like it could
just use lockmgr(LK_SPIN). On the second read, it seems like it's
actually technically doing regular lock with tsleep(), i.e. equivalent
of lockmgr(LK_SHARED).

Jaromir Dolecek <>
@@@@  Wanna a real operating system ? Go and get NetBSD, damn!  @@@@