This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trans-mem] Release transaction objects on thread termination
- From: Richard Henderson <rth at redhat dot com>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Aldy Hernandez <aldyh at redhat dot com>
- Date: Thu, 04 Aug 2011 08:59:07 -0700
- Subject: Re: [trans-mem] Release transaction objects on thread termination
- References: <1312370165.3533.245.camel@triegel.csb>
On 08/03/2011 04:16 AM, Torvald Riegel wrote:
> This patch removes the per-thread free-list of gtm_transaction objects.
> With a single stable gtm_transaction object per thread, it is not
> necessary anymore.
If this is true, just move the entire gtm_transaction object
into gtm_thread and have it be statically allocated with TLS.
No need for any of the other gyrations.
r~