zfs/module
Brian Behlendorf 869764f64d Add fix-stack-dsl_deleg_get topic branch
Reduce stack usage in dsl_deleg_get, gcc flagged it as consuming a
whopping 1040 bytes or potentially 1/4 of a 4K stack.  This patch
moves all the large structures and buffer off the stack and on to
the heap.  This includes 2 zap_cursor_t structs each 52 bytes in
size, 2 zap_attribute_t structs each 280 bytes in size, and 1
256 byte char array.  The total saves on the stack is 880 bytes
after you account for the 5 new pointers added.

Also the source buffer length has been increased from MAXNAMELEN
to MAXNAMELEN+strlen(MOS_DIR_NAME)+1 as described by the comment in
dsl_dir_name().  A buffer overrun may have been possible with the
slightly smaller buffer.
2010-06-16 13:49:25 -07:00
..
avl Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
nvpair Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
unicode Add unicode library 2009-01-05 12:03:23 -08:00
zcommon Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zfs Add fix-stack-dsl_deleg_get topic branch 2010-06-16 13:49:25 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00