diff options
| author | Alexei Starovoitov <[email protected]> | 2024-11-08 19:40:16 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-11-11 16:18:43 +0000 |
| commit | 266a557981ab3b0a8f292e9a5bdcd242424ff458 (patch) | |
| tree | cf7f2072ebf35aa8175ba275776068439022afee /tools/testing/selftests/bpf/prog_tests/timer_lockup.c | |
| parent | Merge branch 'bpf-add-uprobe-session-support' (diff) | |
| parent | selftests/bpf: Test the update operations for htab of maps (diff) | |
| download | kernel-266a557981ab3b0a8f292e9a5bdcd242424ff458.tar.gz kernel-266a557981ab3b0a8f292e9a5bdcd242424ff458.zip | |
Merge branch 'fix-lockdep-warning-for-htab-of-map'
Hou Tao says:
====================
The patch set fixes a lockdep warning for htab of map. The
warning is found when running test_maps. The warning occurs when
htab_put_fd_value() attempts to acquire map_idr_lock to free the map id
of the inner map while already holding the bucket lock (raw_spinlock_t).
The fix moves the invocation of free_htab_elem() after
htab_unlock_bucket() and adds a test case to verify the solution.
====================
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/timer_lockup.c')
0 files changed, 0 insertions, 0 deletions
