Re: [PATCH 1/2] staging: zram: add Crypto API support

2013-07-31 Thread Piotr Sarna
On 07/31/2013 02:49 PM, Greg KH wrote: > On Wed, Jul 31, 2013 at 12:16:36PM +0200, Piotr Sarna wrote: >> Hi, >> >> On 07/30/2013 03:53 PM, Greg KH wrote: >>> On Tue, Jul 30, 2013 at 02:30:48PM +0200, Piotr Sarna wrote: >>>> Current version of zram do

Re: [PATCH 1/2] staging: zram: add Crypto API support

2013-07-31 Thread Piotr Sarna
Hi, On 07/30/2013 03:53 PM, Greg KH wrote: > On Tue, Jul 30, 2013 at 02:30:48PM +0200, Piotr Sarna wrote: >> Current version of zram does not allow any substitution of a default >> compression algorithm. Therefore, I decided to change the existing >> implementation of page

[PATCH 2/2] staging: zram: add per-cpu support to Crypto

2013-07-30 Thread Piotr Sarna
per thread took 0.60s with per-cpu code included and approximately 0.80s without per-cpu support. Signed-off-by: Piotr Sarna Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park --- drivers/staging/zram/zram_drv.c | 146 +-- drivers/staging/zram

[PATCH 1/2] staging: zram: add Crypto API support

2013-07-30 Thread Piotr Sarna
e value of zram.compressor module parameter to a proper name (e.g. lz4). Signed-off-by: Piotr Sarna Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park --- drivers/staging/zram/Kconfig|5 +- drivers/staging/zram/zram_drv.c | 106 --- drivers/st