[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXFv5VuFJ9V7Zdc3Nv9PzuH8m5k+3P8HWwyaaHpXxc_Dw@mail.gmail.com>
Date: Thu, 9 Jan 2014 16:20:09 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
John Fastabend <john.fastabend@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: Re: [RFC Patch net-next 1/4] net_sched: switch filter list to list_head
On Thu, Jan 9, 2014 at 4:17 PM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Thu, 2014-01-09 at 10:19 -0800, Cong Wang wrote:
>> So that it could be potentially traversed with RCU.
>
> This never made sense to me.
>
> RCU doesn't need list_head at all.
>
> list_head is convenient (not only for RCU), but not a need.
>
I knew, playing RCU list without using list_head is hard to
get right, at least for me. Maybe I should rephrase it.
--
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