Chapter 22. NVIDIA Spectre V2 Mitigation

The NVIDIA FreeBSD driver supports the retpoline Spectre V2 mitigation technique as identified by:

FreeBSD does not provide a consistent method to determine if the kernel implements Spectre V2 mitigation at driver install time. The NVIDIA FreeBSD driver implements the non-speculative (safe) version of the retpoline thunk which provides Spectre V2 mitigation for the NVIDIA kernel module. When enabled, users may notice a performance degradation.