Re: [trans-mem] New TM method: serial-irrevocable on first write

2011-08-04 Thread Richard Henderson
On 08/03/2011 03:56 AM, Torvald Riegel wrote: > Add serialirr_onwrite_dispatch and use as new default method, for now. > > * retry.cc (GTM::gtm_transaction::decide_begin_dispatch): Use > serialirr_onwrite_dispatch as new default for now. > * method-serial.cc (serialirr_on

[trans-mem] New TM method: serial-irrevocable on first write

2011-08-03 Thread Torvald Riegel
This adds a new TM method which lets transactions simply read through without any protection until the first write in the transaction, upon which the transaction switches to serial-irrevocable mode (thus isolating all other transactions from uncommitted writes). This can work well for read-mostly