From: Sergey Senozhatsky Date: Wed, 15 Apr 2015 23:16:06 +0000 (-0700) Subject: zram: export new 'mm_stat' sysfs attrs X-Git-Tag: omap-for-v4.1/fixes-rc1~128^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f2109f60881585dc04fa0b5657a60556576625c;p=pandora-kernel.git zram: export new 'mm_stat' sysfs attrs Per-device `zram/mm_stat' file provides mm statistics of a particular zram device in a format similar to block layer statistics. The file consists of a single line and represents the following stats (separated by whitespace): orig_data_size compr_data_size mem_used_total mem_limit mem_used_max zero_pages num_migrated Signed-off-by: Sergey Senozhatsky Acked-by: Minchan Kim Cc: Nitin Gupta Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed