[PATCH chao/erofs-dev 3/7] staging: erofs: localize UNALLOCATED_CACHED_PAGE placeholder

Chao Yu chao at kernel.org
Fri Dec 7 01:08:09 AEDT 2018


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 <gaoxiang25 at huawei.com>

Reviewed-by: Chao Yu <yuchao0 at huawei.com>

Thanks,


More information about the Linux-erofs mailing list