diff options
author | Richard Yao <[email protected]> | 2014-06-17 19:37:02 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-10-28 09:21:08 -0700 |
commit | ad9863e80be35825229d0638c5e69c0ea30f82de (patch) | |
tree | 6e095ad508c7efc6f80c208c8ea502dbc090dee6 /spl.release.in | |
parent | 802a4a2ad53f6844ce2dbbf219a5e373ebd24688 (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 'spl.release.in')
0 files changed, 0 insertions, 0 deletions