summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-08-06 05:58:46 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-09 04:12:17 +0300
commit4a8937b83892cb69524291cae6cdabad4a8be033 (patch)
treeb5a9309221ad0f066bdd08f1539a7fc2ecacd19b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parente858ef1cd4bc1bdfcd18114a8195236e336cee42 (diff)
downloadlinux-4a8937b83892cb69524291cae6cdabad4a8be033.tar.xz
cxgb4: smt: Add lock for atomic_dec_and_test
The atomic_dec_and_test() is not safe because it is outside of locks. Move the locks of t4_smte_free() to its caller, cxgb4_smt_release() to protect the atomic decrement. Fixes: 3bdb376e6944 ("cxgb4: introduce SMT ops to prepare for SMAC rewrite support") Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions