This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/9] Add the low level infrastructure for pthreads lock elision with TSX
- From: Andi Kleen <ak at linux dot intel dot com>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: Andreas Jaeger <aj at suse dot com>, libc-alpha at sourceware dot org
- Date: Wed, 15 May 2013 11:34:22 -0700
- Subject: Re: [PATCH 2/9] Add the low level infrastructure for pthreads lock elision with TSX
- References: <1368225725-14283-1-git-send-email-andi at firstfloor dot org> <1368225725-14283-3-git-send-email-andi at firstfloor dot org> <518F5B45 dot 6080301 at suse dot com> <20130513223037 dot GG4072 at tassilo dot jf dot intel dot com> <5191E43C dot 7070602 at suse dot com> <5191E770 dot 80105 at redhat dot com>
>
> This code is run from elision_init which is in .init_array or .preinit_array.
>
> You should have all the functionality of the C library by that point?
pthread has some magic that makes it run early.
>
> Don't C++ static constructors are run from these?
>
> What problems did you have localizing this?
I didn't try to localize this, but I had lots of problems with
other services earlier (e.g. simple getenv does not work)
-Andi