]> git.baikalelectronics.ru Git - kernel.git/commit
Squashfs: Use vmalloc rather than kmalloc for zlib workspace
authorPhillip Lougher <phillip@lougher.demon.co.uk>
Tue, 22 Mar 2011 23:01:26 +0000 (23:01 +0000)
committerPhillip Lougher <phillip@lougher.demon.co.uk>
Tue, 22 Mar 2011 23:01:26 +0000 (23:01 +0000)
commit4e1c8430439cbace523457a8f88f1b0f9fcb41e2
treea8c032d5aa97ede9e369bf66d2dd39ad60859ac4
parentad6541b740da34d647bc1b854c87946582fdb061
Squashfs: Use vmalloc rather than kmalloc for zlib workspace

Bugzilla bug 31422 reports occasional "page allocation failure. order:4"
at Squashfs mount time.  Fix this by making zlib workspace allocation
use vmalloc rather than kmalloc.

Reported-by: Mehmet Giritli <mehmet@giritli.eu>
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
fs/squashfs/zlib_wrapper.c