net+crypto: Use vmalloc for zlib inflate buffers.
authorDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2011 12:48:41 +0000 (05:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2011 12:48:41 +0000 (05:48 -0700)
commit7ab24bfdf9a9a9f87ac8e5ad9a25f80b5b947be7
tree897d12fb7498316d05ce2ed48722fc78b61fc4e1
parented6e4ef836d425bc35e33bf20fcec95e68203afa
net+crypto: Use vmalloc for zlib inflate buffers.

They are 64K and result in order-4 allocations, even with SLUB.

Therefore, just like we always have for the deflate buffers, use
vmalloc.

Reported-by: Martin Jackson <mjackson220.list@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
crypto/deflate.c
crypto/zlib.c
drivers/net/bnx2x/bnx2x_main.c
drivers/net/ppp_deflate.c