mirror_zfs/module
Brian Behlendorf 3e78905ffb Silence zstd large allocation warning
Allow zstd_mempool_init() to allocate using vmem_alloc() instead
of kmem_alloc() to silence the large allocation warning on Linux
during module load when the system has a large number of CPUs.

It's not at all clear to me that scaling the allocation size with
the number of CPUs is beneficial and that should be evaluated.
But for the moment this should resolve the warning without
introducing any unexpected side effects.

Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #17620
Closes #11557
2025-08-12 17:24:26 -07:00
..
avl SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
icp Linux build: silence objtool warnings 2025-06-17 10:50:26 -07:00
lua SPDX: license tags: MIT 2025-04-16 09:59:44 -07:00
nvpair SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
os linux/zvol_os: fix crash with blk-mq on Linux 4.19 2025-08-12 17:24:11 -07:00
unicode [2.3.2] uconv: add SPDX license tag 2025-04-16 09:59:45 -07:00
zcommon GCC 15: Fix unterminated-string-initialization (#17244) 2025-04-16 09:59:45 -07:00
zfs Linux: sync: remove async/sync accounting 2025-08-12 17:23:39 -07:00
zstd Silence zstd large allocation warning 2025-08-12 17:24:26 -07:00
.gitignore FreeBSD: Ignore symlink to i386 includes 2022-08-02 16:34:23 -07:00
Kbuild.in linux: Fix out-of-src builds 2025-08-12 17:22:40 -07:00
Makefile.bsd freebsd: unbreak module/Makefile.bsd build on 15-CURRENT-arm64 2025-04-16 09:59:45 -07:00
Makefile.in objtool wrapper: use absolute path to call the wrapper 2025-08-07 13:10:58 -04:00