diff options
| author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2016-01-14 15:22:35 -0800 |
|---|---|---|
| committer | Peter Kalauskas <peskal@google.com> | 2018-08-23 12:00:15 -0700 |
| commit | 6982182465b2edf1fe577b63b2be4addf2274573 (patch) | |
| tree | 2872138fcefaaf420937d9ea0ee40734498ffc2c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | dc5f588d8b73b20e17b783c7ef25faef4130fcad (diff) | |
UPSTREAM: 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>
(cherry picked from commit e02d238c9852a91b30da9ea32ce36d1416cdc683)
Signed-off-by: Peter Kalauskas <peskal@google.com>
Bug: 112488418
Change-Id: I911832da703f596998a4139d6033ef1564848c9e
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
