Files
Minchan Kim 11df797207 UPSTREAM: zram: add stat to gather incompressible pages since zram set
up

Currently, zram supports the stat via /sys/block/zram/mm_stat to represent
how many of incompressible pages are stored at the moment but it couldn't
show how many times incompressible pages were wrote down since zram set
up.  It's also good indication to see how zram is effective in the system.

Link: https://lkml.kernel.org/r/20201130201907.1284910-1-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Minchan Kim <minchan@google.com>
(cherry picked from commit 194e28da1a0279ef6a106a5b621fd79c410432ef)
Bug: 173746187
Change-Id: I5c1febc7cd1fc0c9f05f826e5fcf34931516afd9
2026-01-18 10:57:56 +00:00
..
2023-06-21 15:38:58 +02:00
2026-01-18 10:57:27 +00:00
2021-06-03 08:36:11 +02:00
2019-03-21 16:19:55 -07:00