[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091102214055.GA2358@ami.dom.local>
Date: Mon, 2 Nov 2009 22:40:55 +0100
From: Jarek Poplawski <jarkao2@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next-2.6] ifb: RCU locking avoids touching dev
refcount
On Mon, Nov 02, 2009 at 10:34:04PM +0100, Eric Dumazet wrote:
> Jarek Poplawski a écrit :
...
> > So, how is skb->dev protected here, above and below? It seems these
> > rcu read blocks need extending, don't they?
> >
>
> Well, this might be true, but we run under tasklet (softirq) with preemption disabled.
>
> We might move rcu_read_unlock() some lines down to not rely on this.
I think it's needed now at least for readability.
Jarek P.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists