[PATCH 1/4] x86: Initialize CPU info via IFUNC relocation [BZ 26203]

Florian Weimer fweimer@redhat.com
Mon Sep 28 14:22:31 GMT 2020


* H. J. Lu:

> We want to call init_cacheinfo as early as possible.  __libc_early_init is
> still too late.

My point is that we should call it from IFUNC resolvers that need it,
and from __libc_early_init.  That should cover all cases, no?

It would also settle the matter of the assert.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list