[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAC5umyhznnRTsAkwmK3xV_MGRZzsLw2sEiUjCP2Z_k9e3Nt8XQ@mail.gmail.com>
Date: Sun, 8 Feb 2015 00:18:34 +0900
From: Akinobu Mita <akinobu.mita@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Akinobu Mita <akinobu.mita@...il.com>,
Nick Piggin <npiggin@...nel.dk>, Jens Axboe <axboe@...nel.dk>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] brd: detect zero writes for saving ram
2015-02-08 0:03 GMT+09:00 Akinobu Mita <akinobu.mita@...il.com>:
> This introduces a module parameter to detect zero writes and not to
> allocate memory. Read requests for unallocated (unwritten) region
> end up by reading zero. So this can save zeroed memory consumption
> with extra overhead for the detection.
>
> This feature is useful for testing filesystems and user programs to
> huge files without huge real storage. So this change also extends
> the upper limit on the size of the RAM disk.
I have just noticed about zram and I'll check I can use it instead.
--
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