This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/6] Use XEND when a lock is busy in an elision attempt.
- From: Andi Kleen <andi at firstfloor dot org>
- To: libc-alpha at sourceware dot org
- Date: Mon, 02 Sep 2013 13:59:55 -0700
- Subject: Re: [PATCH 3/6] Use XEND when a lock is busy in an elision attempt.
- Authentication-results: sourceware.org; auth=none
- References: <20130902075228 dot GA4792 at linux dot vnet dot ibm dot com> <20130902080214 dot GC4997 at linux dot vnet dot ibm dot com>
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