summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/hfi.h
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2019-06-14 12:32:26 -0400
committerDoug Ledford <dledford@redhat.com>2019-06-17 21:15:40 -0400
commitcf131a81967583ae737df6383a0893b9fee75b4e (patch)
tree8ebb349f62700de5878a2919070031878de90f50 /drivers/infiniband/hw/hfi1/hfi.h
parentcc78076af14e1478c1a8fb18997674b5f8cbe3c8 (diff)
downloadlinux-cf131a81967583ae737df6383a0893b9fee75b4e.tar.bz2
IB/hfi1: Avoid hardlockup with flushlist_lock
Heavy contention of the sde flushlist_lock can cause hard lockups at extreme scale when the flushing logic is under stress. Mitigate by replacing the item at a time copy to the local list with an O(1) list_splice_init() and using the high priority work queue to do the flushes. Fixes: 7724105686e7 ("IB/hfi1: add driver files") Cc: <stable@vger.kernel.org> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/hfi.h')
0 files changed, 0 insertions, 0 deletions