Re: [PATCH 1/1] zram: better utilization of zram swap space

From: Sergey Senozhatsky
Date: Sun Dec 10 2017 - 20:55:35 EST


On (12/11/17 09:16), Minchan Kim wrote:
[..]
> I agree. zram shouldn't be aware of allocator internal.
> It would be better for zram to use *int zs_max_zpage_size(struct zs_pool *pool)*
> to set up max_zpage_size.
> Let's hide the allocator's detail to the exported function.

Hi Minchan,

cool :)

I'll re-spin the patch [in a day or two]. and then *may be* we can
return to the huge-class watermark proposition. may be there can be
a knob or something of that kind.

-ss