Home
last modified time | relevance | path

Searched hist:"448 b5a15" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/erofs/
H A Ddecompressor.c448b5a15 Fri Jul 08 05:10:01 CDT 2022 Gao Xiang <hsiangkao@linux.alibaba.com> erofs: avoid consecutive detection for Highmem memory

Currently, vmap()s are avoided if physical addresses are
consecutive for decompressed buffers.

I observed that is very common for 4KiB pclusters since the
numbers of decompressed pages are almost 2 or 3.

However, such detection doesn't work for Highmem pages on
32-bit machines, let's fix it now.

Reported-by: Liu Jinbao <liujinbao1@xiaomi.com>
Fixes: 7fc45dbc938a ("staging: erofs: introduce generic decompression backend")
Link: https://lore.kernel.org/r/20220708101001.21242-1-hsiangkao@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>