HomeFreeBSD

Add ddt, ddt_entry, and l2arc_hdr caches

Description

Add ddt, ddt_entry, and l2arc_hdr caches

Back the allocations for ddt tables+entries and l2arc headers with
kmem caches. This will reduce the cost of allocating these commonly
used structures and allow for greater visibility of them through the
/proc/spl/kmem/slab interface.

Signed-off-by: John Layman <jlayman@sagecloud.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1893

Details

Provenance
John Layman <jlayman@sagecloud.com>Authored on Nov 19 2013, 9:34 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 7 2014, 6:33 PM
Parents
rG4dad7d91e248: Remove unconditional sharetab update
Branches
Unknown
Tags
Unknown