linux-stable/fs/erofs
Gao Xiang bee4d2ab4d erofs: avoid consecutive detection for Highmem memory
[ Upstream commit 448b5a1548 ]

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: 7fc45dbc93 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:17:36 +02:00
..
compress.h
data.c erofs: avoid using generic_block_bmap 2020-12-30 11:51:23 +01:00
decompressor.c erofs: avoid consecutive detection for Highmem memory 2022-08-25 11:17:36 +02:00
dir.c erofs: rename errln/infoln/debugln to erofs_{err, info, dbg} 2019-09-05 20:10:09 +02:00
erofs_fs.h erofs: add unsupported inode i_format check 2021-05-11 14:04:02 +02:00
inode.c erofs: add unsupported inode i_format check 2021-05-11 14:04:02 +02:00
internal.h erofs: rename errln/infoln/debugln to erofs_{err, info, dbg} 2019-09-05 20:10:09 +02:00
Kconfig erofs: kill all erofs specific fault injection 2019-09-05 20:10:08 +02:00
Makefile
namei.c erofs: rename errln/infoln/debugln to erofs_{err, info, dbg} 2019-09-05 20:10:09 +02:00
super.c erofs: fix shift-out-of-bounds of blkszbits 2021-03-07 12:20:42 +01:00
tagptr.h
utils.c erofs: correct the remaining shrink objects 2020-04-17 10:50:16 +02:00
xattr.c erofs: initialized fields can only be observed after bit is set 2021-03-04 10:26:43 +01:00
xattr.h erofs: use erofs_inode naming 2019-09-05 20:10:07 +02:00
zdata.c erofs: fix unsafe pagevec reuse of hooked pclusters 2021-11-21 13:38:51 +01:00
zdata.h erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup 2020-06-30 15:37:07 -04:00
zmap.c erofs: initialized fields can only be observed after bit is set 2021-03-04 10:26:43 +01:00
zpvec.h erofs: fix unsafe pagevec reuse of hooked pclusters 2021-11-21 13:38:51 +01:00