This is the mail archive of the
mailing list for the glibc project.
Re: V6 [PATCH] x86: Add <sys/platform/x86.h>
On Tue, Oct 30, 2018 at 11:33 AM H.J. Lu <email@example.com> wrote:
> On Tue, Oct 30, 2018 at 11:15 AM Joseph Myers <firstname.lastname@example.org> wrote:
> > On Tue, 30 Oct 2018, H.J. Lu wrote:
> > > I'd like to add this C/C++ feature to glibc. If there is no objection, I will
> > > check it in tomorrow.
> > I object: it's clear you don't have consensus for this feature in its
> > presently proposed form.
> The only concern so far is this feature is C/C++ only. My understanding
> is that it is perfectly OK to have <sys/platform/cpu.h> with C/C++
> only features.
> Am I correct?
FYI, we are working on a testcase to show spinlock scalability issue on
machines with many cores. It is on hjl/spinlock/master branch at
The testcase uses CPU_FEATURE_USABLE and x86_tsc_to_ns.