diff options
| author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2024-11-27 16:52:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-27 14:01:59 +0100 |
| commit | 0653fa6ee045965f9cae2e9cebcd99ef6b4ecd62 (patch) | |
| tree | 7db19b3056a864d1567e82e973bd37904b718d06 /include/linux | |
| parent | 97645ed2f3eb15a886139ad27a0dd333084b7de1 (diff) | |
| download | linux-0653fa6ee045965f9cae2e9cebcd99ef6b4ecd62.tar.gz linux-0653fa6ee045965f9cae2e9cebcd99ef6b4ecd62.tar.bz2 linux-0653fa6ee045965f9cae2e9cebcd99ef6b4ecd62.zip | |
erofs: fix PSI memstall accounting
[ Upstream commit 1a2180f6859c73c674809f9f82e36c94084682ba ]
Max Kellermann recently reported psi_group_cpu.tasks[NR_MEMSTALL] is
incorrect in the 6.11.9 kernel.
The root cause appears to be that, since the problematic commit, bio
can be NULL, causing psi_memstall_leave() to be skipped in
z_erofs_submit_queue().
Reported-by: Max Kellermann <max.kellermann@ionos.com>
Closes: https://lore.kernel.org/r/CAKPOu+8tvSowiJADW2RuKyofL_CSkm_SuyZA7ME5vMLWmL6pqw@mail.gmail.com
Fixes: 9e2f9d34dd12 ("erofs: handle overlapped pclusters out of crafted images properly")
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241127085236.3538334-1-hsiangkao@linux.alibaba.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
