HomeFreeBSD

Use vmem_alloc() for nvlists

Description

Use vmem_alloc() for nvlists

Several of the nvlist functions may perform allocations larger than
the 32k warning threshold. Convert them to use vmem_alloc() so the
best allocator is used.

Commit efcd79a retired KM_NODEBUG which was used to suppress large
allocation warnings. Concurrently the large allocation warning threshold
was increased from 8k to 32k. The goal was to identify the remaining
locations, such as this one, where the allocation can be larger than
32k. This patch is expected fine tuning resulting for the kmem-rework
changes, see commit 6e9710f.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3057
Closes #3079
Closes #3081

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Feb 5 2015, 8:43 PM
Parents
rGafe373260ebf: Revert "Don't read space maps during import for readonly pools"
Branches
Unknown
Tags
Unknown