[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <23154267-C121-4451-9BA8-25BD9387047F@chelsio.com>
Date: Tue, 24 Jun 2014 15:56:08 -0700
From: Casey Leedom <leedom@...lsio.com>
To: David Miller <davem@...emloft.net>
Cc: rongqing.li@...driver.com, netdev@...r.kernel.org,
eric.dumazet@...il.com, hariprasad@...lsio.com,
greearb@...delatech.com
Subject: Re: [PATCH][RFC] cxgb4: Not need to hold the adap_rcu_lock lock when read adap_rcu_list
On Jun 24, 2014, at 3:54 PM, David Miller <davem@...emloft.net> wrote:
> From: <rongqing.li@...driver.com>
> Date: Fri, 20 Jun 2014 17:32:36 +0800
>
>> From: Li RongQing <roy.qing.li@...il.com>
>>
>> cxgb4_netdev maybe lead to dead lock, since it uses a spin lock, and be called
>> in both thread and softirq context, but not disable BH, the lockdep report is
>> below; In fact, cxgb4_netdev only reads adap_rcu_list with RCU protection, so
>> not need to hold spin lock again.
> ...
>> Reported-by: Ben Greear <greearb@...delatech.com>
>> Cc: Casey Leedom <leedom@...lsio.com>
>> Cc: Hariprasad Shenai <hariprasad@...lsio.com>
>> Signed-off-by: Li RongQing <roy.qing.li@...il.com>
>> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
>
> Applied, thanks.
>
> Casey please _do not_ put indentation in front of your Acked-by:,
> automated tools like patchwork will not pick it up if you do that.
>
> I'm actually very surprised how much spurious indentation and weird
> spacing shows up in some people's postings. You folks definitely are
> using graphical tools to type this stuff in, rather than real pure
> text editors.
Sorry, that was 100% my fault. I actually typed it in that way because I didn’t know. My Bad and I’ll do better next time.
Casey--
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