-
由 Gao Xiang 提交于
stable inclusion from stable-v5.10.137 commit 0ca556256fb438bb754936e9ec210dc1b26b622f category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0ca556256fb438bb754936e9ec210dc1b26b622f -------------------------------- [ Upstream commit 448b5a15 ] 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: NLiu Jinbao <liujinbao1@xiaomi.com> Fixes: 7fc45dbc ("staging: erofs: introduce generic decompression backend") Link: https://lore.kernel.org/r/20220708101001.21242-1-hsiangkao@linux.alibaba.comSigned-off-by: NGao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
f2db0278