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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 29 2024, 10:53 PM
Parents
rGa2e71db66434: Add path handling for aux vdevs in `label_path`
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG6b64acc157ec: Make spl_kmem_cache size check consistent (authored by youzhongyang <youzhong@gmail.com>).Jan 29 2024, 10:53 PM