From: Brian Behlendorf Date: Thu, 4 Oct 2012 18:14:04 +0000 (-0700) Subject: Minimize ztest stack frame size X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=483106eb71b1886c824951b3a35d89d47d41405e;hp=483106eb71b1886c824951b3a35d89d47d41405e;p=zfs.git Minimize ztest stack frame size To ensure ztest behaves as similarly as possible to the kernel implementation of ZFS we attempt to honor the kernel stack limits. This includes keeping the individual stack frame sizes under 1K in size. We currently use gcc to detect and enforce this limit. Therefore to get this building cleanly with full debugging enabled the stack usage in the following functions has been reduced by moving the buffer to the heap. Signed-off-by: Brian Behlendorf ---