aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorBrandon Kammerdiener <[email protected]>2025-04-24 15:32:55 +0000
committerAlexei Starovoitov <[email protected]>2025-04-25 15:36:59 +0000
commit3d9c463f959f41cd6616ebf8a5d15e9d3ef04f16 (patch)
tree4c40aabec804482096aa1993ebb93a92ebc74d64 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentbpf: fix possible endless loop in BPF map iteration (diff)
downloadkernel-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