Minchan Kim 4e3ba87845 zram: support compaction
Now that zsmalloc supports compaction, zram can use it.  For the first
step, this patch exports compact knob via sysfs so user can do compaction
via "echo 1 > /sys/block/zram0/compact".

Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Juneho Choi <juno.choi@lge.com>
Cc: Gunho Lee <gunho.lee@lge.com>
Cc: Luigi Semenzato <semenzato@google.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Seth Jennings <sjennings@variantweb.net>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Jerome Marchand <jmarchan@redhat.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-04-15 16:35:21 -07:00
..
2015-04-15 16:35:21 -07:00
2015-02-16 17:56:04 -08:00
2013-04-09 14:13:19 -04:00
2014-08-08 15:57:28 -07:00
2014-08-08 15:57:28 -07:00
2015-02-16 17:56:04 -08:00
2015-01-02 15:20:25 -07:00
2015-01-02 15:20:25 -07:00
2014-01-30 16:56:55 -08:00
2015-03-05 08:51:03 +01:00
2015-02-19 14:27:42 +03:00
2013-11-08 09:10:30 -07:00
2015-01-21 16:28:57 +10:30