diff options
author | Brian Behlendorf <[email protected]> | 2011-04-26 14:56:04 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-04-26 15:48:00 -0700 |
commit | 40a39e1103bbbd6908bc1b5cf4af953c7e4706ad (patch) | |
tree | 7ce38bb8cf7e9112a93f4a29828bc966f4ed37f8 /config/kernel-bio-end-io-t-args.m4 | |
parent | b81c4ac9af4f9e8b8c27d8011e3ce608cd04737b (diff) |
Conserve stack in dsl_scan_visit()
The dsl_scan_visit() function is a little heavy weight taking 464
bytes on the stack. This can be easily reduced for little cost by
moving zap_cursor_t and zap_attribute_t off the stack and on to the
heap. After this change dsl_scan_visit() has been reduced in size
by 320 bytes.
This change was made to reduce stack usage in the dsl_scan_sync()
callpath which is recursive and has been observed to overflow the
stack.
Issue #174
Diffstat (limited to 'config/kernel-bio-end-io-t-args.m4')
0 files changed, 0 insertions, 0 deletions