diff options
| author | Stefan Assmann <[email protected]> | 2021-08-04 10:22:24 +0200 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-08-17 09:45:45 -0700 |
| commit | 5ac49f3c2702f269d31cc37eb9308bc557953c4d (patch) | |
| tree | 37ab0e415b57bf38074d592906caea0d16f448df /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 752be2976405b7499890c0b6bac6d30d34d08bd6 (diff) | |
iavf: use mutexes for locking of critical sections
As follow-up to the discussion with Jakub Kicinski about iavf locking
being insufficient [1] convert iavf to use mutexes instead of bitops.
The locking logic is kept as is, just a drop-in replacement of
enum iavf_critical_section_t with separate mutexes.
The only difference is that the mutexes will be destroyed before the
module is unloaded.
[1] https://lwn.net/ml/netdev/20210316150210.00007249%40intel.com/
Signed-off-by: Stefan Assmann <[email protected]>
Tested-by: Marek Szlosek <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions