diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2016-01-14 15:22:35 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-15 11:40:52 -0800 |
commit | e02d238c9852a91b30da9ea32ce36d1416cdc683 (patch) | |
tree | 71086a6b6dfef99f3d446d477fe0d1124e860916 /fs | |
parent | 75d8947a36d0c9aedd69118d1f14bf424005c7c2 (diff) | |
download | linux-e02d238c9852a91b30da9ea32ce36d1416cdc683.tar.bz2 |
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 'fs')
0 files changed, 0 insertions, 0 deletions