On 12/22/2011 11:28 AM, Torvald Riegel wrote:
> libitm: Fix privatization safety during upgrades to serial mode.
>
> libitm/
> * beginend.cc (GTM::gtm_thread::restart): Add and handle
> finish_serial_upgrade parameter.
> * libitm.h (GTM::gtm_thread::restart): Adapt
During working on the atomics-in-libitm patch, I noticed that during
upgrades to serial mode, we were clearing the reader flag of the
upgrading transaction too early. This would be fine for just the serial
lock but we also use this flag in the quiescence-based privatization
safety implementation;