Re: [PATCH] brd: detect zero writes for saving ram

2015-02-07 Thread Akinobu Mita
2015-02-08 0:18 GMT+09:00 Akinobu Mita : > 2015-02-08 0:03 GMT+09:00 Akinobu Mita : >> 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 >>

Re: [PATCH] brd: detect zero writes for saving ram

2015-02-07 Thread Akinobu Mita
2015-02-08 0:03 GMT+09:00 Akinobu Mita : > 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

[PATCH] brd: detect zero writes for saving ram

2015-02-07 Thread Akinobu Mita
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