diff options
author | Sebastian Sanchez <sebastian.sanchez@intel.com> | 2016-12-07 22:33:33 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-11 15:29:42 -0500 |
commit | 9b86071c5ef7a8c0a0d6d541cb79df5a8b115d91 (patch) | |
tree | ed743f619a90e42ba28565fd8392b08a3904675d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b777f154a0c21e1187c1806ababf9c5ba3e49eea (diff) |
IB/hfi1: Remove critical section gap in sc_buffer_alloc()
In sc_buffer_alloc(), the sc->alloc_lock is released
before calling sc_release_update(), and it is reacquired
after the function call. This causes CPU lock trading.
Fix it by not dropping the lock before calling
sc_release_update().
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions