xen-netback: notify immediately after pushing Tx response.
authorDavid Vrabel <[email protected]>
Wed, 11 Mar 2015 15:27:59 +0000 (15:27 +0000)
committerDavid S. Miller <[email protected]>
Thu, 12 Mar 2015 03:30:44 +0000 (23:30 -0400)
commitc8a4d29988edb0db9ee80669f2e5e21bd9f7e0d0
treeed2c40642f474a6e7b4adbaf54ddcdfd1ddbf8ff
parentb1cb59cf2efe7971d3d72a7b963d09a512d994c9
xen-netback: notify immediately after pushing Tx response.

This fixes a performance regression introduced by
7fbb9d8415d4a51cf542e87cf3a717a9f7e6aedc (xen-netback: release pending
index before pushing Tx responses)

Moving the notify outside of the spin locks means it can be delayed a
long time (if the dealloc thread is descheduled or there is an
interrupt or softirq).

Signed-off-by: David Vrabel <[email protected]>
Reviewed-by: Zoltan Kiss <[email protected]>
Acked-by: Wei Liu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/xen-netback/netback.c