xen-netback: notify immediately after pushing Tx response.
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 11 Mar 2015 15:27:59 +0000 (15:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <david.vrabel@citrix.com>
Reviewed-by: Zoltan Kiss <zoltan.kiss@linaro.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c