diff options
author | Gao Xiang <[email protected]> | 2024-11-27 16:52:36 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2024-12-13 00:24:40 +0800 |
commit | 1a2180f6859c73c674809f9f82e36c94084682ba (patch) | |
tree | e4560d7dbc93fec57a53bbf1bfdc610c7d61c1dc /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | b10a1e5643e505c367c7e16aa6d8a9a0dc07354b (diff) |
erofs: fix PSI memstall accounting
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions