diff options
| author | Alex Estrin <alex.estrin@intel.com> | 2017-07-29 08:43:20 -0700 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-07-31 15:18:37 -0400 |
| commit | 5efd40cad4bf98f0d1f6b726d67e39decd85edc9 (patch) | |
| tree | ddcd4af0836f6a0332d719aa9adc240fca7b5cfc /tools/perf/scripts/python/stackcollapse.py | |
| parent | IB/hfi1: Split copy_to_user data copy for better security (diff) | |
| download | linux-5efd40cad4bf98f0d1f6b726d67e39decd85edc9.tar.gz linux-5efd40cad4bf98f0d1f6b726d67e39decd85edc9.zip | |
IB/hfi1: Harden state transition to Armed and Active
There is a window that allows other threads to read state of
'host_link_state' as a new, before the hardware actual state is set.
This patch closes the window by indicating a new state only after
hardware transition is complete.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Alex Estrin <alex.estrin@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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
