Fix stack lzjb
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Aug 2010 17:58:19 +0000 (10:58 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:49 +0000 (08:38 -0700)
commit18a89ba43d3e5e8a31d50838c93ec26d1cb27429
treeb2961db9af4af3138f29a146a7b14c743b285c6b
parentbf701a83c5ec192be6d3afe87ebeee45ce9127f4
Fix stack lzjb

Reduce kernel stack usage by lzjb_compress() by moving uint16 array
off the stack and on to the heap.  The exact performance implications
of this I have not measured but we absolutely need to keep stack
usage to a minimum.  If/when this becomes and issue we optimize.

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