This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Common cpuid wrappers, use SYS_cpuid when available
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Wed, 9 Mar 2016 11:49:45 +0700
- Subject: Re: [PATCH] Common cpuid wrappers, use SYS_cpuid when available
- Authentication-results: sourceware.org; auth=none
- References: <20160309022443 dot 3e3530f6 at ultra dot tux-net> <20160309022725 dot 70c1beb4 at ultra dot tux-net>
On 09-03-2016 08:27, Piotr Henryk Dabrowski wrote:
>
> This feature is NOT implemented in the Linux kernel yet.
> However I would like to ask you to say if you *would* ACK this *if* the
> SYS_cpuid system call were to be adopted into the kernel.
> Obviously shipping either without the other does not make any sense.
If such functionality is indeed accepted upstream in Linux I see no reason
on not possible ack this patch (the ack it self will depend on patch
quality and architecture maintainer feedback). I see the idea is reasonable,
the only drawback is a slight large latency on program startup (due syscall
issuing in cacheinfo.c).
Before start to ask for patch revision, you need to sort out the copyright
by signing the papers with the FSF as pointed out by Mike Frysinger.