PERFORCE change 120788 for review

Attilio Rao attilio at FreeBSD.org
Sat Jun 2 19:07:13 UTC 2007


Rui Paulo wrote:
> http://perforce.freebsd.org/chv.cgi?CH=120788
> 
> Change 120788 by rpaulo at rpaulo_epsilon on 2007/06/02 17:55:58
> 
> 	Add locking.	
> 
> Affected files ...

Ah, but it seems you don't use a "fast" interrupt handler, so you should 
not use a spinlock... spinlocks should only be used in fast interrupt 
handlers, otherwise you bring up all the disvantages of the model...

Attilio



More information about the p4-projects mailing list