Re: [patch] libitm: Optimize undo log.

2012-01-06 Thread Richard Henderson
On 01/06/2012 11:15 AM, Torvald Riegel wrote: > libitm: Optimize undo log. > > libitm/ > * local.cc (GTM_LB): Use GTM::gtm_undolog. > (GTM::gtm_thread::drop_references_undolog): Remove. > (GTM::gtm_thread::commit_undolog, > GTM::gtm_thread::rollback_undolog):

[patch] libitm: Optimize undo log.

2012-01-05 Thread Torvald Riegel
This fixes a known, obvious performance problem in libitm's undo log: Before, each write was put into a separately allocated buffer, which kills performance. With the patch, everything goes into a single buffer: Undo data first, then the length of the data, then the address. We only need this data