[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080320.151410.131501950.davem@davemloft.net>
Date: Thu, 20 Mar 2008 15:14:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: wangchen@...fujitsu.com, netdev@...r.kernel.org
Subject: Re: [PATCH] FIB_TRIE: RCU refine
From: Stephen Hemminger <shemminger@...tta.com>
Date: Thu, 20 Mar 2008 08:35:44 -0700
>
> > David, sorry to send this patch again.
> > I sent it yesterday, but seems that it was refused by
> > netdev maillist. I subscribed the mailist and send it
> > again.
> >
> > On reader side, RCU list-traversal functions, such as
> > *list_for_each_entry_rcu(), should be within an RCU
> > read-side critical section.
> >
> > Surround them by rcu_read_*lock()
>
> This patch is unnecessary since rcu_read_lock is already fib_trie_seq_start
> and fib_trie_seq_stop.
COrrect.
--
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