Re: [PATCH v3 net-next] net_sched: gen_estimator: complete rewrite of rate estimators

2016-12-05 Thread David Miller
From: Eric Dumazet Date: Sun, 04 Dec 2016 09:48:16 -0800 > From: Eric Dumazet > > 1) Old code was hard to maintain, due to complex lock chains. >(We probably will be able to remove some kfree_rcu() in callers) > > 2) Using a single timer to

[PATCH v3 net-next] net_sched: gen_estimator: complete rewrite of rate estimators

2016-12-04 Thread Eric Dumazet
From: Eric Dumazet 1) Old code was hard to maintain, due to complex lock chains. (We probably will be able to remove some kfree_rcu() in callers) 2) Using a single timer to update all estimators does not scale. 3) Code was buggy on 32bit kernel (WRITE_ONCE() on 64bit