Re: [PATCH v2] zram: Prevent page allocation failure during zcomp_strm_alloc

Sergey Senozhatsky
2015-11-23T03:34:15Z

On (11/23/15 12:14), Sergey Senozhatsky wrote:
>
> yes, GFP_KERNEL looks a bit fragile to me too. And may be zcomp_strm_alloc()
> and comp->backend->create() deserve GFP_NOFS. I believe I sent a patch doing
> this a while ago: https://lkml.org/lkml/2015/6/16/465
>

perhaps just __GFP_RECLAIM (GFP_NOIO), not '__GFP_RECLAIM | __GFP_IO'
(GFP_NOFS), is better.

-ss