[RFC PATCH] getcpu_cache system call: caching current CPU number (x86)

Florian Weimer fweimer@redhat.com
Tue Jul 21 08:01:00 GMT 2015


On 07/21/2015 02:25 AM, Mathieu Desnoyers wrote:
> But I'm inclined to think that some aspect of the question eludes me,
> especially given the amount of interest generated by the gs-segment
> selector approach. What am I missing ?

%gs is not explicitly mentioned in the x86_64 psABI.  This probably led
to the assumption that it's unused.  I think that's not the right
conclusion to draw.

-- 
Florian Weimer / Red Hat Product Security



More information about the Libc-alpha mailing list