[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080320083544.581d309c@extreme>
Date: Thu, 20 Mar 2008 08:35:44 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Wang Chen <wangchen@...fujitsu.com>
Cc: "David S. Miller" <davem@...emloft.net>,
NETDEV <netdev@...r.kernel.org>
Subject: Re: [PATCH] FIB_TRIE: RCU refine
> 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.
--
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