Message ID | 20220112140113.26560-1-mwilck@suse.com |
---|---|
State | New |
Headers | show |
Series | scsi: mpt3sas: avoid watchdog issue while releasing chain buffers | expand |
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index 81dab9b82f79..943ea7e0fef0 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_base.c +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c @@ -5715,6 +5715,7 @@ _base_release_memory_pools(struct MPT3SAS_ADAPTER *ioc) ct->chain_buffer_dma); } kfree(ioc->chain_lookup[i].chains_per_smid); + cond_resched(); } dma_pool_destroy(ioc->chain_dma_pool); kfree(ioc->chain_lookup);