SAMBA_2.2 and spinlocks

Jeremy Allison jra at
Sat Sep 29 11:46:02 GMT 2001

On Thu, Sep 27, 2001 at 06:54:25AM +0200, Hans-J?rg Wolff wrote:
> Hi,
> when configuring the actual SAMBA_2.2 from cvs to use spinlocks I get a
> segmentation fault calling smbstatus. smbstatus crashes when opening the tdb
> and clearing in there any spinlocks (??).
> So my question is, if the use of spinlocks is depreciated ?

No, just not widely used. I'll look at this.

> When using spinlocks and changing the answer of this_is_smp() to 1 we
> encountered no longer any problems with a dual-PIII server and Visual FoxPro
> application which crashes regulary on previous version of 2.2.x

Well the spinlocks shouldn't make any difference to the internal
tdb logic, which should work the same whether spinlocks or fcntl
lock are used.


More information about the samba-technical mailing list