Re: [patch] libitm: Don't enforce privatization safety if already in serial mode.

2011-12-22 Thread Richard Henderson
On 12/22/2011 11:46 AM, Torvald Riegel wrote: > libitm: Don't enforce privatization safety if already in serial mode. > > libitm/ > * beginend.cc (GTM::gtm_thread::trycommit): Don't enforce > privatization safety if already in serial mode. Ok. r~

[patch] libitm: Don't enforce privatization safety if already in serial mode.

2011-12-22 Thread Torvald Riegel
Noticed this while looking at the privatization safety code. If we're already in serial mode, there is no other active transaction that could have pending reads or writes, so there is also no need to enforce/check that there is no other active txn. This is not triggered with the current set of TM