From: Eric Dumazet Date: Thu, 6 Jun 2013 21:53:16 +0000 (-0700) Subject: net_sched: htb: do not setup default rate estimators X-Git-Tag: v3.11-rc1~16^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64153ce0a7b61b2a5cacb01805cbf670142339e9;p=pandora-kernel.git net_sched: htb: do not setup default rate estimators With a thousand htb classes, est_timer() spends ~5 million cpu cycles and throws out cpu cache, because each htb class has a default rate estimator (est 4sec 16sec). Most users do not use default rate estimators, so switch htb to not setup ones. Add a module parameter (htb_rate_est) so that users relying on this default rate estimator can revert the behavior. echo 1 >/sys/module/sch_htb/parameters/htb_rate_est Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed