]> git.proxmox.com Git - mirror_zfs.git/commit
Reduce splat_taskq_test2_impl() stack frame size
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 27 Feb 2015 00:12:55 +0000 (16:12 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 3 Mar 2015 18:18:31 +0000 (10:18 -0800)
commit6ab08667a44458f775da9f0ecceddbcea1275746
treeb74c2a19ba0da368cfc217b6a679a6e8ec56b992
parentd0d5dd714424365a4da0d887cb641cb2f0ae8844
Reduce splat_taskq_test2_impl() stack frame size

Slightly increasing the size of a kmutex_t has caused us to exceed
the stack frame warning size in splat_taskq_test2_impl().  To address
this the tq_args have been moved to the heap.

  cc1: warnings being treated as errors
  spl-0.6.3/module/splat/splat-taskq.c:358:
  error: the frame size of 1040 bytes is larger than 1024 bytes

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Issue #435
module/splat/splat-taskq.c