summaryrefslogtreecommitdiffstats
path: root/mm/zbud.c
diff options
context:
space:
mode:
authorSergey Senozhatsky2016-01-15 00:22:35 +0100
committerLinus Torvalds2016-01-15 20:40:52 +0100
commite02d238c9852a91b30da9ea32ce36d1416cdc683 (patch)
tree71086a6b6dfef99f3d446d477fe0d1124e860916 /mm/zbud.c
parentzram: pass gfp from zcomp frontend to backend (diff)
downloadkernel-qcow2-linux-e02d238c9852a91b30da9ea32ce36d1416cdc683.tar.gz
kernel-qcow2-linux-e02d238c9852a91b30da9ea32ce36d1416cdc683.tar.xz
kernel-qcow2-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