Messages in this thread | | | Date | Mon, 30 Nov 2015 16:14:28 +0900 | From | Minchan Kim <> | Subject | Re: [PATCH 2/2] zram/zcomp: do not zero out zcomp private pages |
| |
On Fri, Nov 27, 2015 at 01:23:14PM +0900, Sergey Senozhatsky wrote: > Do not __GFP_ZERO allocated zcomp ->private pages. We keep > allocated streams around and use them for read/write requests, > so we supply a zeroed out ->private to compression algorithm > as a scratch buffer only once -- the first time we use that > stream. For the rest of IO requests served by this stream > ->private usually contains some temporarily data from the > previous requests. > > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org>
Thanks.
| |