This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/6] Use XEND when a lock is busy in an elision attempt.


First please copy me on all elision patches.

Testing untested patches is also not a good idea.
If you don't have a TSX system please don't submit TSX patches.

Dominik Vogt <vogt@linux.vnet.ibm.com> writes:

> The patch replaces XABORT with XEND in case a transaction needs to be manually
> aborted because the futex is locked when we have opened a transaction.  This
> approach is less invasive than aborting because it keeps outer transactions
> intact.  The transaction may still abort later, when the futex is acquired.
> Another advantage is that we do not throw our private abort code at the creator
> of the outermost transaction.


Nack. This is done intentionally to improve profiling.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]