Re: [PATCHv7 4/7] zram: add multi stream functionality

2014-02-25 Thread Minchan Kim
On Tue, Feb 25, 2014 at 02:34:30PM +0300, Sergey Senozhatsky wrote: > This patch implements multi stream compression support. > > Introduce struct zcomp_strm_multi and a set of functions to manage > zcomp_strm stream access. zcomp_strm_multi has a list of idle zcomp_strm > structs, spinlock to pro

[PATCHv7 4/7] zram: add multi stream functionality

2014-02-25 Thread Sergey Senozhatsky
This patch implements multi stream compression support. Introduce struct zcomp_strm_multi and a set of functions to manage zcomp_strm stream access. zcomp_strm_multi has a list of idle zcomp_strm structs, spinlock to protect idle list and wait queue, making it possible to perform parallel compress