[PATCH] Common cpuid wrappers, use SYS_cpuid when available

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Mar 9 04:50:00 GMT 2016



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.



More information about the Libc-alpha mailing list