Re: [PATCH 1/2] zram: count same page write as page_stored

From: Sergey Senozhatsky
Date: Mon May 15 2017 - 21:11:20 EST


On (05/15/17 16:41), Minchan Kim wrote:
> Regardless of whether it is same page or not, it's surely write
> and stored to zram so we should increase pages_stored stat.
> Otherwise, user can see zero value via mm_stats although he
> writes a lot of pages to zram.
>
> Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

-ss