Re: [PATCH net-next 12/14] r8152: replace netif_rx with netif_receive_skb
From: Francois Romieu
Date: Tue Feb 18 2014 - 18:29:08 EST
Hayes Wang <hayeswang@xxxxxxxxxxx> :
> Replace netif_rx with netif_receive_skb to avoid disabling irq frequently
> for increasing the efficiency.
read_bulk_callback is issued in irq context. It could thus use plain
spin_lock / spin_unlock instead of the irq disabling version.
--
Ueimor
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/