Re: [PATCH v5 net-next 1/5] net: add napi_id and hash

From: Eliezer Tamir
Date: Tue May 28 2013 - 09:41:23 EST


On 28/05/2013 16:38, Eric Dumazet wrote:
On Tue, 2013-05-28 at 11:03 +0300, Eliezer Tamir wrote:

With an atomic we don't need the RTNL in any of the napi_id functions.
One less thing to worry about when we try to remove the RTNL.

OK but we'll need something to protect the lists against concurrent
insert/deletes.

A spinlock or a mutex.

OK
--
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/