]> git.baikalelectronics.ru Git - kernel.git/commit
staging: zcache: crypto API support
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Tue, 3 Jan 2012 22:31:34 +0000 (16:31 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 01:09:27 +0000 (17:09 -0800)
commit37e35c18611bfad34ec0f6af673d7cc2d864af54
treec804b66e3b41b47b237220f46a29b05f979ba996
parent7ba82d8cfd608cc3e1f8192a20563160e9450f11
staging: zcache: crypto API support

This patch allow zcache to use the crypto API for page compression.
It replaces the direct LZO compress/decompress calls with calls
into the crypto compression API. The compressor to be used is
specified in the kernel boot line with the zcache parameter like:
zcache=lzo or zcache=deflate.  If the specified compressor can't
be loaded, zcache uses lzo as the default compressor.

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/Kconfig
drivers/staging/zcache/zcache-main.c