[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47E2FF1C.7060802@cn.fujitsu.com>
Date: Fri, 21 Mar 2008 08:19:40 +0800
From: Wang Chen <wangchen@...fujitsu.com>
To: Stephen Hemminger <shemminger@...tta.com>
CC: "David S. Miller" <davem@...emloft.net>,
NETDEV <netdev@...r.kernel.org>
Subject: Re: [PATCH] FIB_TRIE: RCU refine
Stephen Hemminger said the following on 2008-3-20 23:35:
>> 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.
>
I see.
Thank you, Stephen.
--
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