[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d97c6391-4ca7-e36a-09da-483b93218507@oracle.com>
Date: Mon, 10 Sep 2018 17:56:34 -0700
From: Santosh Shilimkar <santosh.shilimkar@...cle.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Sowmini Varadhan <sowmini.varadhan@...cle.com>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
rds-devel@....oracle.com
Subject: Re: [Patch net] rds: mark bound socket with SOCK_RCU_FREE
On 9/10/2018 5:45 PM, Cong Wang wrote:
> On Mon, Sep 10, 2018 at 5:26 PM Santosh Shilimkar
> <santosh.shilimkar@...cle.com> wrote:
>> Would you mind posting an updated patch please with call_rcu and
>> above extended RCU grace period with rcu_read_lock. Thanks !!
>
> If you prefer to fix _two_ problems in one patch, sure.
>
> For the record, the bug this patch fixes is NOT same with the one
> in rds_find_bound(), because there is no rds_find_bound() in
> the backtrace. If you want to see the full backtrace, here it is:
>
> https://marc.info/?l=linux-netdev&m=153644444808962&w=2
>
> This is why I believe they are two problems.
>
> Whether fixing two problems in one patch or two patches is
> merely a preference, I leave it up to you.
>
I had a partial fix as well in past but since it wasn't covering
complete window, it was abandoned.
Since we know the other race, it would be best to address it
together and hence requested a combine patch. Thanks for help !!
Regards,
Santosh
Powered by blists - more mailing lists