Commit:     515e06c4556bd8388db6b2bb2cd8859126932946
Parent:     ddb61a57bb6df673986e6476407f97d28b02031f
Author:     Shannon Nelson <[EMAIL PROTECTED]>
AuthorDate: Sat Jun 23 23:09:23 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sat Jun 23 23:09:23 2007 -0700

    [NET]: Re-enable irqs before pushing pending DMA requests
    This moves the local_irq_enable() call in net_rx_action() to before
    calling the CONFIG_NET_DMA's dma_async_memcpy_issue_pending() rather
    than after.  This shortens the irq disabled window and allows for DMA
    drivers that need to do their own irq hold.
    Signed-off-by: Shannon Nelson <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/core/dev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index 2609062..ee051bb 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2009,6 +2009,7 @@ static void net_rx_action(struct softirq_action *h)
+       local_irq_enable();
         * There may not be any more sk_buffs coming right now, so push
@@ -2022,7 +2023,6 @@ out:
-       local_irq_enable();
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to