This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR libitm/70456: Allocate aligned memory in gtm_thread operator new
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Torvald Riegel <triegel at redhat dot com>, Richard Henderson <rth at redhat dot com>
- Date: Tue, 19 Apr 2016 08:04:45 -0700
- Subject: Re: [PATCH] PR libitm/70456: Allocate aligned memory in gtm_thread operator new
- Authentication-results: sourceware.org; auth=none
- References: <20160330123453 dot GA17104 at intel dot com> <CAMe9rOordXpGUqzh3ns1prp1D+mk0SUQig=jdcuEXbFY12sOag at mail dot gmail dot com>
On Sat, Apr 2, 2016 at 9:25 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Mar 30, 2016 at 5:34 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
>> Since GTM::gtm_thread has
>>
>> gtm_thread *next_thread __attribute__((__aligned__(HW_CACHELINE_SIZE)));
>>
>> GTM::gtm_thread::operator new should allocate aligned memory.
>>
>> Tested on Linux/x86-64. OK for trunk.
>>
>>
>
> This patch is better. Tested on Linux/x86-64. OK for trunk?
>
Hi Richard,
Is this patch:
https://gcc.gnu.org/ml/gcc-patches/2016-04/msg00119.html
OK for trunk?
--
H.J.