]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - lib/dma-debug.c
dma-debug: add a schedule point in debug_dma_dump_mappings()
[mirror_ubuntu-bionic-kernel.git] / lib / dma-debug.c
index 1b34d210452c5aba703aea04e648dd6ed56fd576..35f843d1123099134215ba4aa5deab2614d37d1d 100644 (file)
@@ -437,6 +437,7 @@ void debug_dma_dump_mappings(struct device *dev)
                }
 
                spin_unlock_irqrestore(&bucket->lock, flags);
+               cond_resched();
        }
 }
 EXPORT_SYMBOL(debug_dma_dump_mappings);