3 ms·
How does the exports work that the ZFS folks cannot compile their code with the SIMD instructions? Is there some docs on how this works?
by protomyth 7y ago
How does the exports work that the ZFS folks cannot compile their code with the SIMD instructions? Is there some docs on how this works?
- caf 7y agoThe x86-64 FPU state is quite large so normally the user task's FPU state is only saved/restored on a task switch. This means that if kernel code wants to use the FPU (which includes the SIMD instructions), it has to explicitly request access and return it when it's done. The functions that do that are the exports being referred to here.