diff options
author | Brian Behlendorf <[email protected]> | 2011-04-20 14:22:35 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-04-20 14:39:15 -0700 |
commit | 3dfc591ac4003d1c92159b5dfe8970f24e008f81 (patch) | |
tree | 0a3014aeffafed2ac02e307eaf5fdb2be649c420 /module/Makefile.in | |
parent | b1cbc4610c8b5a9b5de80cb850a6eb58bb811a1d (diff) |
Linux 2.6.39 compat, zlib_deflate_workspacesize()
The function zlib_deflate_workspacesize() now take 2 arguments.
This was done to avoid always having to allocate the maximum size
workspace (268K). The caller can now specific the windowBits and
memLevel compression parameters to get a smaller workspace.
For our purposes we introduce a spl_zlib_deflate_workspacesize()
wrapper which accepts both arguments. When the two argument
version of zlib_deflate_workspacesize() is available the arguments
are passed through. When it's not we assume the worst case and
a maximally sized workspace is used.
Diffstat (limited to 'module/Makefile.in')
0 files changed, 0 insertions, 0 deletions