]> granicus.if.org Git - zfs/commit
splat taskq:order: Reduce stack frame
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 10 Dec 2012 23:24:39 +0000 (15:24 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 12 Dec 2012 17:56:54 +0000 (09:56 -0800)
commit94ff5d38e30e5c79a45099413ac642c94b55a619
tree8ae3c275b36d8548aaa1dad31fe472f0809ce91b
parent3238e717631c68f6f44907b46733f4ae70452d3b
splat taskq:order: Reduce stack frame

The slightly increased size of the taskq_ent_t when debugging is
enabled has pushed the taskq:order splat test over frame size
limit.  To resolve this dynamically allocate the taskq_ent_t
structures so they are part of the heap instead of the stack.

  In function 'splat_taskq_test5_impl'
  error: the frame size of 1680 bytes is larger than 1024 bytes

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/splat/splat-taskq.c