Re: [PATCHv7 5/7] zram: enable multi stream compression support in zram

2014-02-25 Thread Minchan Kim
On Tue, Feb 25, 2014 at 02:34:31PM +0300, Sergey Senozhatsky wrote: > 1) Introduce zram device attribute max_comp_streams to show and store > current zcomp's max number of zcomp streams (num_strm). > > 2) Extend zcomp zcomp_create() with `num_strm' parameter. `num_strm' > limits the number of zcom

[PATCHv7 5/7] zram: enable multi stream compression support in zram

2014-02-25 Thread Sergey Senozhatsky
1) Introduce zram device attribute max_comp_streams to show and store current zcomp's max number of zcomp streams (num_strm). 2) Extend zcomp zcomp_create() with `num_strm' parameter. `num_strm' limits the number of zcomp_strm structs in compression backend's idle list (max_comp_streams). max_com