mirror_zfs/lib/libzpool
Etienne Dechamps 4b2f65b253 Increase the stack space in userspace.
In 1e33ac1e26, the maximum stack size for
userspace tools was set to 8k to mimic the available kernel stack size.

Unfortunately, due to differences in how the stack is used in userspace
vs kernel space, spurious stack overflows could occur in userspace
tools due to the limited stack size. This is especially true in ztest
when debugging is enabled.

This patch multiplies the userspace stack size by 4, which fixes the
stack overflow issues. This comes at the price of not being able to
catch stack size issues in userspace, but the previous solution proved
unreliable anyway.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Fixes #934.
2012-09-06 11:59:59 -07:00
..
kernel.c Increase the stack space in userspace. 2012-09-06 11:59:59 -07:00
Makefile.am Add .zfs control directory 2012-03-22 13:03:47 -07:00
taskq.c Illumos #734: Use taskq_dispatch_ent() interface 2011-12-14 09:19:30 -08:00
util.c Fix gcc cast warnings 2010-08-27 15:33:32 -07:00