This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 1/2] Add framework for tunables


On Wed, Jul 13, 2016 at 10:55 AM, Siddhesh Poyarekar
<siddhesh@sourceware.org> wrote:
> On Wed, Jul 13, 2016 at 10:37:56AM -0700, H.J. Lu wrote:
>> This scheme doesn't work well for IFUNC.  cpu_features must be
>> updated very early after init_cpu_features is called.  But __tunables_init
>> is called too late.  Can it be moved before init_cpu_features so that
>> cpu_features can be updated at the end of init_cpu_features?
>
> Sure, I'll move it further up.

Please make sure that it is called before init_cpu_features for both
static and dynamic executables.

-- 
H.J.


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