diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-12-08 10:09:14 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-08 22:43:15 -0500 |
commit | 126fca643e3f6ee6e26533366f77acdd9e07d2ec (patch) | |
tree | ca0b19895615bfda68d1f238efae3e240ae570c8 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 632be1942d084df89066986e74b56ff0110dd621 (diff) |
cxgb4: prevent simultaneous execution of service_ofldq()
Change mutual exclusion mechanism to prevent multiple threads of
execution from running in service_ofldq() at the same time. The old
mechanism used an implicit guard on the down-call path and none on the
restart path and wasn't working. This checking makes the mechanism
explicit and is much easier to understand as a result.
Based on original work by Casey Leedom <leedom@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions