summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDean Luick <dean.luick@intel.com>2015-11-16 21:59:24 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 13:45:29 -0800
commit323fd785e396f4252b014665df8a831d91c2f117 (patch)
tree8df60db3ada9a414ec21b3315679332438195cc8 /tools/perf/scripts/python
parent699f685569434510d944e419f4048c4e3ba8d631 (diff)
downloadlinux-323fd785e396f4252b014665df8a831d91c2f117.tar.gz
linux-323fd785e396f4252b014665df8a831d91c2f117.zip
staging/rdma/hfi1: Fix downgrade race
A link downgrade can race with link up. Avoid the race in two ways. First, by having the downgrade application logic take the link state mutex for all of its checking. Second, by waiting for the link to move out of the going up state. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions