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

Florian Weimer fweimer@redhat.com
Mon Jul 20 08:35:00 GMT 2015


On 07/18/2015 01:33 AM, Andy Lutomirski wrote:

> I think the API should be "set gsbase to x + y*(cpu number)".  On
> x86_64, userspace just allocates a big swath of virtual space and
> populates it as needed.

This will break WINE and similar applications which use %gs today.

-- 
Florian Weimer / Red Hat Product Security



More information about the Libc-alpha mailing list