diff options
| author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2019-06-14 12:32:26 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 08:22:16 +0200 |
| commit | 90ca4912e55d99de7fea970ec2b2d19e52e6ef54 (patch) | |
| tree | b7a796b761e0509f3e048747afca0095b317b8d4 /security | |
| parent | fa717fc442ff8098205b7bd86a5a26265fa8c9b9 (diff) | |
IB/hfi1: Avoid hardlockup with flushlist_lock
[ Upstream commit cf131a81967583ae737df6383a0893b9fee75b4e ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
