aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/fm/Makefile.am
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-06-17 19:37:02 -0400
committerBrian Behlendorf <[email protected]>2014-10-28 09:21:08 -0700
commitad9863e80be35825229d0638c5e69c0ea30f82de (patch)
tree6e095ad508c7efc6f80c208c8ea502dbc090dee6 /include/sys/fm/Makefile.am
parent802a4a2ad53f6844ce2dbbf219a5e373ebd24688 (diff)
kmem_cache: Call constructor/destructor on each alloc/free
This has a few benefits. First, it fixes a regression that "Rework generic memory allocation interfaces" appears to have triggered in splat's slab_reap and slab_age tests. Second, it makes porting code from Illumos to ZFSOnLinux easier. Third, it has the side effect of making reclaim from slab caches that specify reclaim functions an order of magnitude faster. The splat slab_reap test usually took 30 to 40 seconds. With this change, it takes 3 to 4. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #369
Diffstat (limited to 'include/sys/fm/Makefile.am')
0 files changed, 0 insertions, 0 deletions