id summary reporter owner description type status priority milestone component version resolution keywords cc field_blocks field_dependson field_seealso 659 Get rid of the SYS_SET_TLS syscall Jakub Jermář Jakub Jermář "HelenOS needs the SYS_SET_TLS syscall to support fibril local storage on ia32 and amd64. Recent amd64 processors (starting from Ivy Bridge) support the WRFSBASE instruction for setting the FS base address from any (kernel/user) mode. HelenOS on amd64 should detect the availability of this instruction and use it instead of the SYS_SET_TLS syscall. This would render the syscall necessary only for ia32 and older amd64 processors. We could get rid of it completely by pretending WRGSBASE/WRFSBASE is always supported (both on ia32 and amd64) and emulate its behaviour upon the #UD exception." enhancement closed major 0.7.0 helenos/kernel/amd64 mainline fixed fibrils, tls