diff options
author | Chris Dunlop <[email protected]> | 2015-05-06 09:59:17 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-05-08 14:14:35 -0700 |
commit | 16fcdea36340c658b4557fd34a74915fd618f7a6 (patch) | |
tree | 402c5b7b0a8dae692647fe19950b2d2e3fbe38e0 /include/zfeature_common.h | |
parent | 63e3a8616b200dc36fe9d298a466bb5c25b58132 (diff) |
arc_evict, arc_evict_ghost: reduce stack usage using kmem_zalloc
With debugging enabled and depending on your kernel config, the size of
arc_buf_hdr_t can blow out the stack of arc_evict() and arc_evict_ghost()
to greater than 1024 bytes. Let's avoid this.
Signed-off-by: Chris Dunlop <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3377
Diffstat (limited to 'include/zfeature_common.h')
0 files changed, 0 insertions, 0 deletions