Re: [RFC 0/5] generic rx recycling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Saturday, May 15, 2010 - 11:32 pm

From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Date: Wed,  5 May 2010 16:47:45 +0200


You're adding new unnecessary SMP locking to all of these drivers.

In the gianfar original code the recycle queue is accessed lockless
using __skb_dequeue() et al.  But you're using the skb_dequeue()
interface in the generic version which takes the SKB queue lock
which is absolutely unnecessary where these drivers make these
calls since they already need to have their chip RX path locked
already.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 0/5] generic rx recycling, Sebastian Andrzej Si ..., (Wed May 5, 7:47 am)
[RFC 1/5] net: implement generic rx recycling, Sebastian Andrzej Si ..., (Wed May 5, 7:47 am)
[RFC 2/5] net/gianfar: use generic recycling infrasstructure, Sebastian Andrzej Si ..., (Wed May 5, 7:47 am)
[RFC 3/5] net/mv643xx: use generic recycling infrastructure, Sebastian Andrzej Si ..., (Wed May 5, 7:47 am)
[RFC 4/5] net/stmmac: use generic recycling infrastructure, Sebastian Andrzej Si ..., (Wed May 5, 7:47 am)
[RFC 5/5] net/ucc_geth: use generic recycling infrastructure, Sebastian Andrzej Si ..., (Wed May 5, 7:47 am)
Re: [RFC 0/5] generic rx recycling, David Miller, (Sat May 15, 11:32 pm)