diff options
author | Minchan Kim <minchan@kernel.org> | 2015-04-16 01:15:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-16 01:35:21 +0200 |
commit | 4e3ba87845420e0bfa21e6c4f7f81897aed38f8c (patch) | |
tree | b0eeb240f26c4edee1e298fe2ed384fb8ca0c6f4 /mm | |
parent | zsmalloc: adjust ZS_ALMOST_FULL (diff) | |
download | linux-4e3ba87845420e0bfa21e6c4f7f81897aed38f8c.tar.xz linux-4e3ba87845420e0bfa21e6c4f7f81897aed38f8c.zip |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions