diff options
| author | Gao Xiang <[email protected]> | 2025-07-09 03:46:14 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2025-07-10 09:08:27 +0000 |
| commit | 27917e8194f91dffd8b4825350c63cb68e98ce58 (patch) | |
| tree | cb09f45d128923b7e1e09f97191ce0bb16ddc0eb /tools/perf/scripts/python/parallel-perf.py | |
| parent | erofs: use memcpy_to_folio() to replace copy_to_iter() (diff) | |
| download | kernel-27917e8194f91dffd8b4825350c63cb68e98ce58.tar.gz kernel-27917e8194f91dffd8b4825350c63cb68e98ce58.zip | |
erofs: address D-cache aliasing
Flush the D-cache before unlocking folios for compressed inodes, as
they are dirtied during decompression.
Avoid calling flush_dcache_folio() on every CPU write, since it's more
like playing whack-a-mole without real benefit.
It has no impact on x86 and arm64/risc-v: on x86, flush_dcache_folio()
is a no-op, and on arm64/risc-v, PG_dcache_clean (PG_arch_1) is clear
for new page cache folios. However, certain ARM boards are affected,
as reported.
Fixes: 3883a79abd02 ("staging: erofs: introduce VLE decompression support")
Closes: https://lore.kernel.org/r/[email protected]
Closes: https://lore.kernel.org/r/[email protected]
Tested-by: Jan Kiszka <[email protected]>
Tested-by: Stefan Kerkmann <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
