Re: [PATCH v2 6/8] zram: change zcomp_compress interface

2015-08-26 Thread Sergey Senozhatsky
On (08/20/15 15:35), Joonsoo Kim wrote: > zram regards zstrm's buffer as compression destination buffer, but, > it is not intuitive and there is no document about it. Providing > destination buffer to zcomp_compress() directly seems more intuitive > interface to me so this patch changes zcomp_compr

[PATCH v2 6/8] zram: change zcomp_compress interface

2015-08-19 Thread Joonsoo Kim
zram regards zstrm's buffer as compression destination buffer, but, it is not intuitive and there is no document about it. Providing destination buffer to zcomp_compress() directly seems more intuitive interface to me so this patch changes zcomp_compress interface. Signed-off-by: Joonsoo Kim ---