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
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
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
---
drivers/block/zram/zram_drv.c
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
---
drivers/block/zram/zram_drv.c | 2 ++
1 file
4 matches
Mail list logo