HomeFreeBSD

kernel_fpu fixes

Description

kernel_fpu fixes

This patch fixes a few issues when detecting which kernel_fpu functions
are available.

  • Use kernel_fpu_begin() if it's exported on newer kernels.
  • Use ZFS_LINUX_TRY_COMPILE_SYMBOL() to choose the right kernel_fpu function when using --enable-linux-builtin.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #8259
Closes #8363

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Mar 7 2019, 12:03 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 7 2019, 12:03 AM
Parents
rGa73e8fdb93d2: Stack overflow in recursive bpobj_iterate_impl
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGbecdcec7b9cd: kernel_fpu fixes (authored by Tony Hutter <hutter2@llnl.gov>).Mar 7 2019, 12:03 AM