diff options
author | Michael Niewöhner <[email protected]> | 2019-07-21 19:34:10 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-11-13 10:05:23 -0800 |
commit | 6d948c3519ab7a52c06f68927737a3199ba13f81 (patch) | |
tree | 5c3ce17100b7959308857f536bbdf5620eff04fc /module/spl | |
parent | 66955885e24427a94e938c013da214bd5c0177d4 (diff) |
Add kmem_cache flag for forcing kvmalloc
This adds a new KMC_KVMEM flag was added to enforce use of the
kvmalloc allocator in kmem_cache_create even for large blocks, which
may also increase performance in some specific cases (e.g. zstd), too.
Default to KVMEM instead of VMEM in spl_kmem_cache_create.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Matt Ahrens <[email protected]>
Signed-off-by: Sebastian Gottschall <[email protected]>
Signed-off-by: Michael Niewöhner <[email protected]>
Closes #9034
Diffstat (limited to 'module/spl')
0 files changed, 0 insertions, 0 deletions