mirror_zfs/module/os/linux/spl
Rob Norris f2b4ed3fe5 spl: remove a _KERNEL check
This code is only compiled for the Linux kernel module, so that define
is always set.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #18117
2026-01-08 10:33:44 -08:00
..
README.md Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
spl-condvar.c Prefer VERIFY0P(n) over VERIFY3P(n, ==, NULL) 2025-08-07 11:41:42 -07:00
spl-cred.c SPDX: license tags: GPL-2.0-or-later 2025-03-13 17:57:09 -07:00
spl-err.c SPDX: license tags: GPL-2.0-or-later 2025-03-13 17:57:09 -07:00
spl-generic.c spl: lift 64-bit math compat out to separate file 2026-01-08 10:33:32 -08:00
spl-kmem-cache.c kmem: don't add __GFP_RECLAIMABLE for KM_VMEM allocations 2026-01-05 13:35:13 -08:00
spl-kmem.c kmem: don't pass __GFP_HIGHMEM to __vmalloc 2025-12-23 12:54:11 -08:00
spl-kstat.c spl: unexport kstat_proc_entry functions 2026-01-08 10:33:37 -08:00
spl-math-compat.c spl: lift 64-bit math compat out to separate file 2026-01-08 10:33:32 -08:00
spl-proc.c linux/kmem: remove HAVE_ATOMIC64_T and kmem_alloc_used wrappers 2025-07-22 15:08:07 -07:00
spl-procfs-list.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
spl-shrinker.c SPDX: license tags: GPL-2.0-or-later 2025-03-13 17:57:09 -07:00
spl-taskq.c Fix snapshot automount expiry cancellation deadlock 2025-12-01 14:43:42 -08:00
spl-thread.c Prefer VERIFY0P(n) over VERIFY(n == NULL) 2025-08-07 11:41:37 -07:00
spl-trace.c spl: remove a _KERNEL check 2026-01-08 10:33:44 -08:00
spl-tsd.c Prefer VERIFY0P(n) over VERIFY3P(n, ==, NULL) 2025-08-07 11:41:42 -07:00
spl-vmem.c SPDX: license tags: GPL-2.0-or-later 2025-03-13 17:57:09 -07:00
spl-xdr.c SPDX: license tags: GPL-2.0-or-later 2025-03-13 17:57:09 -07:00
spl-zlib.c SPDX: license tags: GPL-2.0-or-later 2025-03-13 17:57:09 -07:00
spl-zone.c Linux 6.18: namespace type moved to ns_common 2025-10-20 16:01:04 -07:00
THIRDPARTYLICENSE.gplv2 OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
THIRDPARTYLICENSE.gplv2.descrip OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00

The Solaris Porting Layer, SPL, is a Linux kernel module which provides a compatibility layer used by the OpenZFS project.

Installation

The latest version of the SPL is maintained as part of this repository. Only when building ZFS version 0.7.x or earlier must an external SPL release be used. These releases can be found at:

Release

The SPL is released under a GPLv2 license.
For more details see the NOTICE and THIRDPARTYLICENSE files; UCRL-CODE-235197