x86: Use FSGSBASE for TLS changes (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 29 Feb 2016 23:34:45 +0000 (18:34 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 29 Feb 2016 23:34:45 +0000 (18:34 -0500)
commit597386a35115980f5a223efabcc65268562866b1
treeea4ad9c9d59939164696c631be7bcd6a936f1e86
parent9888121ef617aefed86425529a9dc327e3f27c96
x86: Use FSGSBASE for TLS changes (XCC)

When the CPU feature is available, userspace and the kernel will use the
instructions (e.g. wrfsbase) to change TLS.

Rebuild glibc.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/cpuinfo.c
kern/arch/x86/ros/mmu.h
kern/arch/x86/smp_boot.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/x86_64/tls.h