Re: [PATCH v2 8/8] zram: drop gfp_t from zcomp_strm_alloc()

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:17PM +0900, Sergey Senozhatsky wrote: > We now allocate streams from CPU_UP hot-plug path, there are > no context-dependent stream allocations anymore and we can > schedule from zcomp_strm_alloc(). Use GFP_KERNEL directly and > drop a gfp_t parameter. > > Signed-off-b

[PATCH v2 8/8] zram: drop gfp_t from zcomp_strm_alloc()

2016-05-31 Thread Sergey Senozhatsky
We now allocate streams from CPU_UP hot-plug path, there are no context-dependent stream allocations anymore and we can schedule from zcomp_strm_alloc(). Use GFP_KERNEL directly and drop a gfp_t parameter. Signed-off-by: Sergey Senozhatsky Cc: Minchan Kim Cc: Joonsoo Kim --- drivers/block/zram