mirror_zfs/lib/libspl/include/sys
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
..
dktp Remove autotools products 2012-08-27 11:47:44 -07:00
acl_impl.h Add linux libspl support 2010-08-31 13:41:59 -07:00
acl.h Add linux libspl support 2010-08-31 13:41:59 -07:00
bitmap.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
callb.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
cmn_err.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
cred.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
debug.h Enable compiler to typecheck logging 2019-09-12 13:28:26 -07:00
dkio.h Fix spelling 2017-01-03 11:31:18 -06:00
dklabel.h Fix spelling 2017-01-03 11:31:18 -06:00
errno.h Fix header inclusions for standards conformance 2017-04-12 08:58:09 -07:00
feature_tests.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
int_limits.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
int_types.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
inttypes.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
isa_defs.h Fix kernel unaligned access on sparc64 2018-07-11 13:10:40 -07:00
kmem.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
kstat.h Fix typos in lib/ 2019-09-02 17:53:27 -07:00
list_impl.h Add linux libspl support 2010-08-31 13:41:59 -07:00
list.h Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.am OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
mhd.h Add linux libspl support 2010-08-31 13:41:59 -07:00
mkdev.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
policy.h Illumos 3897 - zfs filesystem and snapshot limits 2015-04-28 16:22:51 -07:00
poll.h Fix header inclusions for standards conformance 2017-04-12 08:58:09 -07:00
priv.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
processor.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
signal.h Fix header inclusions for standards conformance 2017-04-12 08:58:09 -07:00
simd.h Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
stack.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stdtypes.h Update build system and packaging 2018-05-29 16:00:33 -07:00
strings.h Update build system and packaging 2018-05-29 16:00:33 -07:00
stropts.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
sunddi.h Add linux libspl support 2010-08-31 13:41:59 -07:00
systeminfo.h Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
time.h Linux 4.18 compat: inode timespec -> timespec64 2018-06-19 21:51:18 -07:00
trace_defs.h OpenZFS restructuring - move linux tracing code to platform directories 2019-09-11 14:25:53 -07:00
types32.h Update build system and packaging 2018-05-29 16:00:33 -07:00
types.h Update build system and packaging 2018-05-29 16:00:33 -07:00
tzfile.h Add linux libspl support 2010-08-31 13:41:59 -07:00
va_list.h Replace __va_list with va_list 2014-08-13 10:35:00 -07:00
varargs.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
vnode.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
vtoc.h Fix typos in lib/ 2019-09-02 17:53:27 -07:00
zone.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00