diff options
| author | Gao Xiang <gaoxiang25@huawei.com> | 2018-12-08 00:19:14 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-07 17:10:48 +0100 |
| commit | 672e54761025997b088d3b8e6c3bb20a71fb32f6 (patch) | |
| tree | f4524e6a5ce7b3eb32ab6d10174cee9b29510f60 /tools/perf/scripts/python/netdev-times.py | |
| parent | staging: erofs: introduce MNGD_MAPPING helper (diff) | |
| download | linux-672e54761025997b088d3b8e6c3bb20a71fb32f6.tar.gz linux-672e54761025997b088d3b8e6c3bb20a71fb32f6.zip | |
staging: erofs: localize UNALLOCATED_CACHED_PAGE placeholder
In practice, in order to do cached decompression rather than reuse
them for in-place decompression and make full use of pages in
page_pool instead of allocating as much as possible, an unallocated
placeholder was introduce to mark all in compressed_pages[] and
they will be replaced at the time of submission.
Previously EROFS_UNALLOCATED_CACHED_PAGE was included in internal.h,
which is unnecessary since it's only internally used in decompression
subsystem, move it to unzip_vle.c and rename it to PAGE_UNALLOCATED.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
