This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] PR libitm/70456: Allocate aligned memory in gtm_thread operator new


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.


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