Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1438120

Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

From Ding Tianhong <dingtianhong@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.
Date 2016-07-07 03:50 +0200
Message-ID <rS6BX-av-11@gated-at.bofh.it> (permalink)
References (1 earlier) <rQ1wJ-3SM-19@gated-at.bofh.it> <rQ1Q5-4fw-11@gated-at.bofh.it> <rQ1ZM-4iE-21@gated-at.bofh.it> <rRQdP-6J4-3@gated-at.bofh.it> <rRQGS-6SL-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2016/7/6 16:44, Eric Dumazet wrote:
> On Wed, 2016-07-06 at 16:15 +0800, Ding Tianhong wrote:
>> Hi Eric:
>>
>> I had found out that the patch aaf92f(netfilter: conntrack: resched in
>> nf_ct_iterate_cleanup) solve the problem, 
>> this patch add cond_sched() in the nf_ct_iterate_cleanup() which will
>> be called in the net notifier chain every time,
>> and I revert this patch at kernel 4.7-rc4 , it will panic for soft
>> lockup, so I am not sure whether our patch is need,
>> it looks like if I disable the CONFIG for netfilter that would
>> register the nf_ct_iterate_cleanup as notifier, the problem still be
>> exist.
> 
> Well, I do not have conntrack on my kernels, and I can not reproduce the
> issue.
> 
> So I am guessing other patches also solved a scalability issue, between
> 4.1 and 4.7
> 
> I am aware of something that David did for IPv4, but this might help as
> well for IPv6.
> 
> commit fbd40ea0180a2d328c5adc61414dc8bab9335ce2
> ipv4: Don't do expensive useless work during inetdev destroy.
>     

Hi Eric:

I check this patch:
[root@localhost linux]# git name-rev fbd40ea0180a2d328c5adc61414dc8bab9335ce2
fbd40ea0180a2d328c5adc61414dc8bab9335ce2 tags/v4.6-rc1~91^2~63

So the kernel4.7-RC4 already has this patch, but it have no effort if I revert the commit  aaf92f(netfilter: conntrack: resched in
nf_ct_iterate_cleanup), So I don't think David's patch could fix this problem.

Thanks
Ding

> 
> 
> 
> 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ipv6: Fix soft lockup for ipv6 network notifier. Ding Tianhong <dingtianhong@huawei.com> - 2016-07-01 09:40 +0200
  Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier. Eric Dumazet <eric.dumazet@gmail.com> - 2016-07-01 10:00 +0200
    Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier. Ding Tianhong <dingtianhong@huawei.com> - 2016-07-01 10:20 +0200
      Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier. Eric Dumazet <eric.dumazet@gmail.com> - 2016-07-01 10:30 +0200
        Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier. Ding Tianhong <dingtianhong@huawei.com> - 2016-07-06 10:20 +0200
          Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier. Eric Dumazet <eric.dumazet@gmail.com> - 2016-07-06 10:50 +0200
            Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier. Ding Tianhong <dingtianhong@huawei.com> - 2016-07-07 03:50 +0200

csiph-web