[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPkvG_cX4x+WkY5A9ieD8VwQe+ROrvVBS1B19MGgQF4OfmQdrw@mail.gmail.com>
Date: Mon, 29 Oct 2012 11:33:11 -0700
From: Nitin Gupta <ngupta@...are.org>
To: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] zram: handle mem suffixes in disk size zram_sysfs
parameter (v2)
On Mon, Oct 29, 2012 at 10:41 AM, Sergey Senozhatsky
<sergey.senozhatsky@...il.com> wrote:
> 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@...il.com>
>
FWIW,
Reviewed-by: Nitin Gupta <ngupta@...are.org>
Thanks,
Nitin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists