linux/drivers/staging/zram
Sergey Senozhatsky 26907840e6 staging: zram: handle mem suffixes in disk size zram_sysfs parameter
Use memparse() to allow mem suffixes in disksize sysfs number.
Examples:
    echo 256K > /sys/block/zram0/disksize
    echo 512M > /sys/block/zram0/disksize
    echo 1G > /sys/block/zram0/disksize

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reviewed-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-31 14:49:09 -07:00
..
Kconfig staging: zram/zcache: swtich Kconfig dependency from X86 to ZSMALLOC 2012-06-25 10:00:53 -07:00
Makefile staging: zram: replace xvmalloc with zsmalloc 2012-02-08 17:13:00 -08:00
zram.txt
zram_drv.c staging: zram: factor-out zram_decompress_page() function 2012-10-31 14:49:09 -07:00
zram_drv.h staging: zram: correct obsolete comment on max_zpage_size 2012-10-22 13:43:46 -07:00
zram_sysfs.c staging: zram: handle mem suffixes in disk size zram_sysfs parameter 2012-10-31 14:49:09 -07:00