Re: [trans-mem] Move state from gtm_thread to gtm_transaction

2011-08-05 Thread Torvald Riegel
On Thu, 2011-08-04 at 12:35 -0700, Richard Henderson wrote: > On 08/04/2011 12:24 PM, Torvald Riegel wrote: > > On Thu, 2011-08-04 at 11:55 -0700, Richard Henderson wrote: > >> On 08/04/2011 09:22 AM, Torvald Riegel wrote: > >>> On Thu, 2011-08-04 at 08:43 -0700, Richard Henderson wrote: > On

Re: [trans-mem] Move state from gtm_thread to gtm_transaction

2011-08-04 Thread Richard Henderson
On 08/04/2011 12:24 PM, Torvald Riegel wrote: > On Thu, 2011-08-04 at 11:55 -0700, Richard Henderson wrote: >> On 08/04/2011 09:22 AM, Torvald Riegel wrote: >>> On Thu, 2011-08-04 at 08:43 -0700, Richard Henderson wrote: On 08/03/2011 04:04 AM, Torvald Riegel wrote: > Move local_tid fr

Re: [trans-mem] Move state from gtm_thread to gtm_transaction

2011-08-04 Thread Torvald Riegel
On Thu, 2011-08-04 at 11:55 -0700, Richard Henderson wrote: > On 08/04/2011 09:22 AM, Torvald Riegel wrote: > > On Thu, 2011-08-04 at 08:43 -0700, Richard Henderson wrote: > >> On 08/03/2011 04:04 AM, Torvald Riegel wrote: > >>> Move local_tid from gtm_thread to gtm_transaction. > >>> > >>

Re: [trans-mem] Move state from gtm_thread to gtm_transaction

2011-08-04 Thread Richard Henderson
On 08/04/2011 09:22 AM, Torvald Riegel wrote: > On Thu, 2011-08-04 at 08:43 -0700, Richard Henderson wrote: >> On 08/03/2011 04:04 AM, Torvald Riegel wrote: >>> Move local_tid from gtm_thread to gtm_transaction. >>> >>> * config/generic/tls.h (gtm_thread): Move local_tid from h

Re: [trans-mem] Move state from gtm_thread to gtm_transaction

2011-08-04 Thread Torvald Riegel
On Thu, 2011-08-04 at 08:43 -0700, Richard Henderson wrote: > On 08/03/2011 04:04 AM, Torvald Riegel wrote: > > Move local_tid from gtm_thread to gtm_transaction. > > > > * config/generic/tls.h (gtm_thread): Move local_tid from here > > ... > > * libitm_i.h (local_

Re: [trans-mem] Move state from gtm_thread to gtm_transaction

2011-08-04 Thread Richard Henderson
On 08/03/2011 04:04 AM, Torvald Riegel wrote: > Move local_tid from gtm_thread to gtm_transaction. > > * config/generic/tls.h (gtm_thread): Move local_tid from here ... > * libitm_i.h (local_tid): ... to here. > * beginend.cc (GTM::gtm_transaction::begin_transaction): Sam

[trans-mem] Move state from gtm_thread to gtm_transaction

2011-08-03 Thread Torvald Riegel
patch3: After the previous change to flat nesting by default, checkpoints, and thus having only a single gtm_transaction object per thread, we can move the local_tid field to gtm_transaction too. As a result, we don't have to access gtm_thread in GTM_begin_transaction anymore. patch4: A small fix