Re: [PATCH] notifier: Fix soft lockup for notifier_call_chain().

2016-06-27 Thread Ding Tianhong
On 2016/6/28 3:50, Cong Wang wrote: > On Fri, Jun 24, 2016 at 7:46 PM, Ding Tianhong > wrote: >> diff --git a/kernel/notifier.c b/kernel/notifier.c >> index fd2c9ac..9c30411 100644 >> --- a/kernel/notifier.c >> +++ b/kernel/notifier.c >> @@ -92,6 +92,8 @@ static int notifier_call_chain(struct not

Re: [PATCH] notifier: Fix soft lockup for notifier_call_chain().

2016-06-27 Thread Cong Wang
On Fri, Jun 24, 2016 at 7:46 PM, Ding Tianhong wrote: > diff --git a/kernel/notifier.c b/kernel/notifier.c > index fd2c9ac..9c30411 100644 > --- a/kernel/notifier.c > +++ b/kernel/notifier.c > @@ -92,6 +92,8 @@ static int notifier_call_chain(struct notifier_block **nl, > #endif >

[PATCH] notifier: Fix soft lockup for notifier_call_chain().

2016-06-24 Thread Ding Tianhong
The problem was occurs in my system that a lot of drviers register its own handler to the notifier call chain for netdev_chain, and then create 4095 vlan dev for one nic, and add several ipv6 address on each one of them, just like this: for i in `seq 1 4095`; do ip link add link eth0 name eth0.$i