HomeFreeBSD

Make spl_kmem_cache size check consistent

Description

Make spl_kmem_cache size check consistent

On Linux x86_64, kmem cache can have size up to 4M,
however increasing spl_kmem_cache_slab_limit can lead
to crash due to the size check inconsistency.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Youzhong Yang <yyang@mathworks.com>
Closes #15757

Details

Provenance
youzhongyang <youzhong@gmail.com>Authored on Jan 16 2024, 9:30 PM
GitHub <noreply@github.com>Committed on Jan 16 2024, 9:30 PM
Parents
rGb64be1624c3f: Add path handling for aux vdevs in `label_path`
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG29ea6faf8ff5: Make spl_kmem_cache size check consistent (authored by youzhongyang <youzhong@gmail.com>).Jan 16 2024, 9:30 PM