> > Isn't spinlock just a few ASM instructions?... on most platforms...
> 
> If we change over to something that supports read vs write locking,
> it's probably going to be rather more than that ... right now, I'm
> pretty dissatisfied with the performance of our spinlocks under load.

We shouldn't use light locks everywhere. Updating/reading MyProc.xid
is very good place to use simple spinlocks... or even better mutexes.

Vadim

Thu, 12 Jul 2001 12:11:58 -0700
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM>
RE: Re: Strangeness in xid allocation / snapshot setup 