Skip to content
Commit c8a4d299 authored by David Vrabel's avatar David Vrabel Committed by David S. Miller
Browse files

xen-netback: notify immediately after pushing Tx response.

This fixes a performance regression introduced by
7fbb9d84

 (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: default avatarDavid Vrabel <david.vrabel@citrix.com>
Reviewed-by: default avatarZoltan Kiss <zoltan.kiss@linaro.org>
Acked-by: default avatarWei Liu <wei.liu2@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b1cb59cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment