On 03/05/2012 05:35 AM, Torvald Riegel wrote:
> libitm/
> * dispatch.h (CREATE_DISPATCH_METHODS_MEM): Don't execute
> memtransfer/memset if size isn't larger than zero.
Ok everywhere.
r~
On Mon, Mar 5, 2012 at 2:34 PM, Torvald Riegel wrote:
> This patch skips execution of memtransfer/memset if there actually isn't
> anything to do. Calls to memcpy/memmove/memset with size==0 should be
> rare I'd suppose but prior code would still treat this no-op like some
> store (ml_wt was part
This patch skips execution of memtransfer/memset if there actually isn't
anything to do. Calls to memcpy/memmove/memset with size==0 should be
rare I'd suppose but prior code would still treat this no-op like some
store (ml_wt was particularly bad: it would to acquire _all_ locks in
such a case du