Re: [PATCHv3 0/2] zsmalloc/zram: drop zram's max_zpage_size

2018-03-14 Thread Sergey Senozhatsky
On (03/15/18 00:07), Minchan Kim wrote: > Both looks good to me. > > Acked-by: Minchan Kim Thanks. -ss

Re: [PATCHv3 0/2] zsmalloc/zram: drop zram's max_zpage_size

2018-03-14 Thread Minchan Kim
On Wed, Mar 14, 2018 at 05:18:31PM +0900, Sergey Senozhatsky wrote: > Hello, > > ZRAM's max_zpage_size is a bad thing. It forces zsmalloc to > store normal objects as huge ones, which results in bigger zsmalloc > memory usage. Drop it and use actual zsmalloc huge-class value when > decide if

[PATCHv3 0/2] zsmalloc/zram: drop zram's max_zpage_size

2018-03-14 Thread Sergey Senozhatsky
Hello, ZRAM's max_zpage_size is a bad thing. It forces zsmalloc to store normal objects as huge ones, which results in bigger zsmalloc memory usage. Drop it and use actual zsmalloc huge-class value when decide if the object is huge or not. v3: - add pool param to zs_huge_class_size() [Min