diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2016-01-15 00:22:35 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-15 20:40:52 +0100 |
commit | e02d238c9852a91b30da9ea32ce36d1416cdc683 (patch) | |
tree | 71086a6b6dfef99f3d446d477fe0d1124e860916 /mm/zbud.c | |
parent | zram: pass gfp from zcomp frontend to backend (diff) | |
download | linux-e02d238c9852a91b30da9ea32ce36d1416cdc683.tar.xz linux-e02d238c9852a91b30da9ea32ce36d1416cdc683.zip |
zram/zcomp: do not zero out zcomp private pages
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions