diff options
author | Matthew Ahrens <[email protected]> | 2018-08-31 13:16:54 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-08-31 10:16:54 -0700 |
commit | adb726eb0ed69e7331ddd308da8fec9316f6426d (patch) | |
tree | fc2cb42f02dd74c6f066a8e319347ddc2ff27184 /config/kernel-fpu.m4 | |
parent | 9e7fb6c1718b4651f9134dde5f9fe79fa44f76d8 (diff) |
clean up __dbuf_hold_impl
We can simplify the dbuf_hold code by allocating dbuf_hold_arg_t's on
demand, rather than allocating a big array of them up front. While this
can occasionally increase the number of allocations, typically only one
allocation is needed since the indirect block is already cached.
The performance test suite gets the same results with this change.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tony Nguyen <[email protected]>
Signed-off-by: Matthew Ahrens <[email protected]>
Closes #7841
Diffstat (limited to 'config/kernel-fpu.m4')
0 files changed, 0 insertions, 0 deletions