dmaengine: xilinx_dma: Use tasklet_hi_schedule for timing critical usecase
authorRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Mon, 7 Aug 2023 05:51:45 +0000 (11:21 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 21 Aug 2023 13:10:37 +0000 (18:40 +0530)
Schedule tasklet with high priority to ensure that callback processing
is prioritized. It improves throughput for netdev dma clients.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1691387509-2113129-7-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c

index 5de9d36..ccd02d8 100644 (file)
@@ -1850,7 +1850,7 @@ static irqreturn_t xilinx_mcdma_irq_handler(int irq, void *data)
                spin_unlock(&chan->lock);
        }
 
-       tasklet_schedule(&chan->tasklet);
+       tasklet_hi_schedule(&chan->tasklet);
        return IRQ_HANDLED;
 }