On 2018-12-2 2:32, Gao Xiang wrote: > In practice, in order to avoid in-place decompression for cached > decompression and reuse pages from page_pool instead of allocation > 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. > > Signed-off-by: Gao Xiang <gaoxian...@huawei.com>
Reviewed-by: Chao Yu <yuch...@huawei.com> Thanks,