Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-09 Thread Ding Tianhong
Hi David: The Patch "rcu: Fix soft lockup for rcu_nocb_kthread" has been added to several stable tree, it may introduced an issue in certain special scenarios, The Patch "softirq: Let ksoftirqd do its job" could fix this issue, so I hope you could add this patch to stable tree, thanks. Ding

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-09 Thread Ding Tianhong
Hi David: The Patch "rcu: Fix soft lockup for rcu_nocb_kthread" has been added to several stable tree, it may introduced an issue in certain special scenarios, The Patch "softirq: Let ksoftirqd do its job" could fix this issue, so I hope you could add this patch to stable tree, thanks. Ding

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-09 Thread Paul E. McKenney
On Tue, Jan 10, 2017 at 11:20:40AM +0800, Ding Tianhong wrote: > > > On 2017/1/4 21:48, Paul E. McKenney wrote: > > On Wed, Jan 04, 2017 at 03:02:30PM +0800, Ding Tianhong wrote: > >> > >> > >> On 2017/1/4 8:57, Paul E. McKenney wrote: > >>> On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E.

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-09 Thread Paul E. McKenney
On Tue, Jan 10, 2017 at 11:20:40AM +0800, Ding Tianhong wrote: > > > On 2017/1/4 21:48, Paul E. McKenney wrote: > > On Wed, Jan 04, 2017 at 03:02:30PM +0800, Ding Tianhong wrote: > >> > >> > >> On 2017/1/4 8:57, Paul E. McKenney wrote: > >>> On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E.

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-09 Thread Ding Tianhong
On 2017/1/4 21:48, Paul E. McKenney wrote: > On Wed, Jan 04, 2017 at 03:02:30PM +0800, Ding Tianhong wrote: >> >> >> On 2017/1/4 8:57, Paul E. McKenney wrote: >>> On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote:

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-09 Thread Ding Tianhong
On 2017/1/4 21:48, Paul E. McKenney wrote: > On Wed, Jan 04, 2017 at 03:02:30PM +0800, Ding Tianhong wrote: >> >> >> On 2017/1/4 8:57, Paul E. McKenney wrote: >>> On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote:

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-04 Thread Paul E. McKenney
On Wed, Jan 04, 2017 at 03:02:30PM +0800, Ding Tianhong wrote: > > > On 2017/1/4 8:57, Paul E. McKenney wrote: > > On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: > >> On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: > >>> Hi, Paul: > >>> > >>> I try to debug this

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-04 Thread Paul E. McKenney
On Wed, Jan 04, 2017 at 03:02:30PM +0800, Ding Tianhong wrote: > > > On 2017/1/4 8:57, Paul E. McKenney wrote: > > On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: > >> On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: > >>> Hi, Paul: > >>> > >>> I try to debug this

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-03 Thread Ding Tianhong
On 2017/1/4 8:57, Paul E. McKenney wrote: > On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: >> On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: >>> Hi, Paul: >>> >>> I try to debug this problem and found this solution could work well for >>> both problem scene.

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-03 Thread Ding Tianhong
On 2017/1/4 8:57, Paul E. McKenney wrote: > On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: >> On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: >>> Hi, Paul: >>> >>> I try to debug this problem and found this solution could work well for >>> both problem scene.

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-03 Thread Paul E. McKenney
On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: > On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: > > Hi, Paul: > > > > I try to debug this problem and found this solution could work well for > > both problem scene. > > > > > > diff --git

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2017-01-03 Thread Paul E. McKenney
On Wed, Dec 28, 2016 at 04:13:15PM -0800, Paul E. McKenney wrote: > On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: > > Hi, Paul: > > > > I try to debug this problem and found this solution could work well for > > both problem scene. > > > > > > diff --git

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-12-28 Thread Paul E. McKenney
On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: > Hi, Paul: > > I try to debug this problem and found this solution could work well for both > problem scene. > > > diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h > index 85c5a88..dbc14a7 100644 > ---

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-12-28 Thread Paul E. McKenney
On Wed, Dec 28, 2016 at 01:58:06PM +0800, Ding Tianhong wrote: > Hi, Paul: > > I try to debug this problem and found this solution could work well for both > problem scene. > > > diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h > index 85c5a88..dbc14a7 100644 > ---

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-12-27 Thread Ding Tianhong
Hi, Paul: I try to debug this problem and found this solution could work well for both problem scene. diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 85c5a88..dbc14a7 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -2172,7 +2172,7 @@ static int

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-12-27 Thread Ding Tianhong
Hi, Paul: I try to debug this problem and found this solution could work well for both problem scene. diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 85c5a88..dbc14a7 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -2172,7 +2172,7 @@ static int

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-20 Thread Ding Tianhong
On 2016/11/21 8:13, Paul E. McKenney wrote: > On Sat, Nov 19, 2016 at 12:22:09AM -0800, Paul E. McKenney wrote: >> On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: >>> >>> >>> On 2016/11/18 21:01, Paul E. McKenney wrote: On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-20 Thread Ding Tianhong
On 2016/11/21 8:13, Paul E. McKenney wrote: > On Sat, Nov 19, 2016 at 12:22:09AM -0800, Paul E. McKenney wrote: >> On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: >>> >>> >>> On 2016/11/18 21:01, Paul E. McKenney wrote: On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-20 Thread Paul E. McKenney
On Sat, Nov 19, 2016 at 12:22:09AM -0800, Paul E. McKenney wrote: > On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: > > > > > > On 2016/11/18 21:01, Paul E. McKenney wrote: > > > On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: > > >> The commit bedc196915 ("rcu: Fix

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-20 Thread Paul E. McKenney
On Sat, Nov 19, 2016 at 12:22:09AM -0800, Paul E. McKenney wrote: > On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: > > > > > > On 2016/11/18 21:01, Paul E. McKenney wrote: > > > On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: > > >> The commit bedc196915 ("rcu: Fix

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-19 Thread Paul E. McKenney
On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: > > > On 2016/11/18 21:01, Paul E. McKenney wrote: > > On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: > >> The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") > >> will introduce a new problem that

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-19 Thread Paul E. McKenney
On Sat, Nov 19, 2016 at 03:50:32PM +0800, Ding Tianhong wrote: > > > On 2016/11/18 21:01, Paul E. McKenney wrote: > > On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: > >> The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") > >> will introduce a new problem that

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-18 Thread Ding Tianhong
On 2016/11/18 21:01, Paul E. McKenney wrote: > On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: >> The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") >> will introduce a new problem that when huge IP abnormal packet arrived, >> it may cause OOM and break the

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-18 Thread Ding Tianhong
On 2016/11/18 21:01, Paul E. McKenney wrote: > On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: >> The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") >> will introduce a new problem that when huge IP abnormal packet arrived, >> it may cause OOM and break the

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-18 Thread Paul E. McKenney
On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: > The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") > will introduce a new problem that when huge IP abnormal packet arrived, > it may cause OOM and break the kernel, just like this: > > [ 79.441538] mlx4_en: eth5:

Re: [PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-18 Thread Paul E. McKenney
On Fri, Nov 18, 2016 at 08:40:09PM +0800, Ding Tianhong wrote: > The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") > will introduce a new problem that when huge IP abnormal packet arrived, > it may cause OOM and break the kernel, just like this: > > [ 79.441538] mlx4_en: eth5:

[PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-18 Thread Ding Tianhong
The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") will introduce a new problem that when huge IP abnormal packet arrived, it may cause OOM and break the kernel, just like this: [ 79.441538] mlx4_en: eth5: Leaving promiscuous mode steering mode:2 [ 100.067032] ksoftirqd/0:

[PATCH] rcu: fix the OOM problem of huge IP abnormal packet traffic

2016-11-18 Thread Ding Tianhong
The commit bedc196915 ("rcu: Fix soft lockup for rcu_nocb_kthread") will introduce a new problem that when huge IP abnormal packet arrived, it may cause OOM and break the kernel, just like this: [ 79.441538] mlx4_en: eth5: Leaving promiscuous mode steering mode:2 [ 100.067032] ksoftirqd/0: