Re: [9fans] LOCK XADD for i386 incref/decref

2010-09-07 Thread erik quanstrom
On Wed Apr 28 15:18:01 EDT 2010, m...@endeavour.zapto.org wrote: > Hi, > > A few months ago, I added a patch to inferno-npe to use LOCK XADD > instead of the current lock/add/unlock sequence for incref and decref: > (http://code.google.com/p/inferno-npe/source/detail?r=b83540e1e77e62a19cbd21d2eb54

Re: [9fans] LOCK XADD for i386 incref/decref

2010-04-28 Thread Federico G. Benavento
sorry for the noise, I should rest a bit after this On Wed, Apr 28, 2010 at 11:39 PM, Federico G. Benavento wrote: > sorry, but why in the compiler and not as a library function like in > libthread? > > http://plan9.bell-labs.com/sources/plan9/sys/src/libthread/xinc386.s > > On Wed, Apr 28, 2010

Re: [9fans] LOCK XADD for i386 incref/decref

2010-04-28 Thread Federico G. Benavento
sorry, but why in the compiler and not as a library function like in libthread? http://plan9.bell-labs.com/sources/plan9/sys/src/libthread/xinc386.s On Wed, Apr 28, 2010 at 4:16 PM, Venkatesh Srinivas wrote: > Hi, > > A few months ago, I added a patch to inferno-npe to use LOCK XADD > instead of

[9fans] LOCK XADD for i386 incref/decref

2010-04-28 Thread Venkatesh Srinivas
Hi, A few months ago, I added a patch to inferno-npe to use LOCK XADD instead of the current lock/add/unlock sequence for incref and decref: (http://code.google.com/p/inferno-npe/source/detail?r=b83540e1e77e62a19cbd21d2eb54d43d338716a5 and http://code.google.com/p/inferno-npe/source/detail?r=82f1