mirror_zfs/module/os/linux/zfs
Brian Behlendorf 10fa254539
Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore
Contrary to initial testing we cannot rely on these kernels to
invalidate the per-cpu FPU state and restore the FPU registers.
Nor can we guarantee that the kernel won't modify the FPU state
which we saved in the task struck.

Therefore, the kfpu_begin() and kfpu_end() functions have been
updated to save and restore the FPU state using our own dedicated
per-cpu FPU state variables.

This has the additional advantage of allowing us to use the FPU
again in user threads.  So we remove the code which was added to
use task queues to ensure some functions ran in kernel threads.

Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #9346
Closes #9403
2019-10-24 10:17:33 -07:00
..
abd.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
arc_os.c OpenZFS restructuring - ARC memory pressure 2019-10-18 13:23:19 -04:00
Makefile.in OpenZFS restructuring - ARC memory pressure 2019-10-18 13:23:19 -04:00
mmp_os.c Move linux specific mmp module_param_call handler to platform code 2019-10-16 18:37:31 -07:00
policy.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
qat_compress.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
qat_crypt.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
qat.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
spa_stats.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
trace.c OpenZFS restructuring - move linux tracing code to platform directories 2019-09-11 14:25:53 -07:00
vdev_disk.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
vdev_file.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_acl.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_ctldir.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
zfs_debug.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_dir.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_ioctl_os.c Make zfsdev_getminor signature cross platform 2019-10-16 18:43:52 -07:00
zfs_onexit_os.c Make zfsdev_getminor signature cross platform 2019-10-16 18:43:52 -07:00
zfs_sysfs.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_vfsops.c Move get_temporary_prop to platform code 2019-10-10 15:59:34 -07:00
zfs_vnops.c Rename rangelock_ functions to zfs_rangelock_ 2019-10-03 15:54:29 -07:00
zfs_znode.c Reduce loaded range tree memory usage 2019-10-09 10:36:03 -07:00
zio_crypt.c Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
zio_os.c Move zio_delay_interrupt to platform code 2019-10-13 19:15:27 -07:00
zpl_ctldir.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zpl_export.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zpl_file.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zpl_inode.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zpl_super.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zpl_xattr.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
zvol_os.c Rename rangelock_ functions to zfs_rangelock_ 2019-10-03 15:54:29 -07:00