]> git.proxmox.com Git - mirror_spl.git/commit
splat taskq:front: Reduce stack frame
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 10 Dec 2012 23:27:05 +0000 (15:27 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 12 Dec 2012 17:56:54 +0000 (09:56 -0800)
commita5a98e72605c071f94b9fdc4bf1811f8ed8d7f32
tree1e212b126f80dfd60a9be4857a91d9dc21548230
parent94ff5d38e30e5c79a45099413ac642c94b55a619
splat taskq:front: Reduce stack frame

The slightly increased size of the taskq_ent_t when debugging is
enabled has pushed the taskq:front 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_test6_impl'
  error: the frame size of 1648 bytes is larger than 1024 bytes

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