diff options
| author | Brandon Kammerdiener <[email protected]> | 2025-04-24 15:32:55 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-04-25 15:36:59 +0000 |
| commit | 3d9c463f959f41cd6616ebf8a5d15e9d3ef04f16 (patch) | |
| tree | 4c40aabec804482096aa1993ebb93a92ebc74d64 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | bpf: fix possible endless loop in BPF map iteration (diff) | |
| download | kernel-3d9c463f959f41cd6616ebf8a5d15e9d3ef04f16.tar.gz kernel-3d9c463f959f41cd6616ebf8a5d15e9d3ef04f16.zip | |
selftests/bpf: add test for softlock when modifying hashmap while iterating
Add test that modifies the map while it's being iterated in such a way that
hangs the kernel thread unless the _safe fix is applied to
bpf_for_each_hash_elem.
Signed-off-by: Brandon Kammerdiener <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Hou Tao <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
