Minchan Kim 51f9f82c85 zram: count same page write as page_stored
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.

Link: http://lkml.kernel.org/r/1494834068-27004-1-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-06 16:24:31 -07:00
..
2017-02-22 11:54:49 -07:00
2017-02-21 11:51:42 -08:00
2017-05-05 18:49:20 -07:00
2017-06-08 08:40:00 -06:00
2017-04-19 09:10:51 -06:00
2017-06-12 08:30:13 -06:00
2017-07-03 20:27:48 -07:00
2017-02-20 12:16:15 +01:00
2013-11-08 09:10:30 -07:00
2017-06-27 12:13:45 -06:00
2017-06-27 12:13:45 -06:00