]> git.proxmox.com Git - mirror_zfs.git/commit
Use large stacks when available
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 2 Dec 2015 19:53:37 +0000 (11:53 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 7 Dec 2015 20:20:43 +0000 (12:20 -0800)
commitb58986eebf3c47c946393da4b968ee33edaea99e
tree6104d36d9f2fd55a4725090f1b5098b4d1272103
parentf40926795c1a1d3750e2a6f6904061cfa68715df
Use large stacks when available

While stack size will vary by architecture it has historically defaulted to
8K on x86_64 systems.  However, as of Linux 3.15 the default thread stack
size was increased to 16K.  These kernels are now the default in most non-
enterprise distributions which means we no longer need to assume 8K stacks.

This patch takes advantage of that fact by appropriately reverting stack
conservation changes which were made to ensure stability.  Changes which
may have had a negative impact on performance for certain workloads.  This
also has the side effect of bringing the code slightly more in line with
upstream.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Closes #4059
config/Rules.am
config/kernel.m4
module/zfs/dmu_send.c
module/zfs/zio.c