diff options
author | 2017-05-04 05:15:21 -0700 | |
---|---|---|
committer | 2017-05-04 19:31:46 -0400 | |
commit | 62239fc6e5545b2e59f83dfbc5db231a81f37a45 (patch) | |
tree | e09329080790c0f624f0b3f7f95facabf7acf369 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | IB/hfi1: Fix an assign/ordering issue with shared context IDs (diff) | |
download | linux-dev-62239fc6e5545b2e59f83dfbc5db231a81f37a45.tar.xz linux-dev-62239fc6e5545b2e59f83dfbc5db231a81f37a45.zip |
IB/hfi1: Clean up on context initialization failure
The error path for context initialization is not consistent. Cleanup all
resources on failure.
Removed unused variable user_event_mask.
Add the _BASE_FAILED bit to the event flags so that a base context can
notify waiting sub contexts that they cannot continue.
Running out of sub contexts is an EBUSY result, not EINVAL.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions