From: Julian Anastasov Date: Sun, 13 Mar 2011 23:41:54 +0000 (+0200) Subject: ipvs: optimize rates reading X-Git-Tag: v2.6.39-rc1~468^2~26^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea9f22cce9c2530d659f9122819940b69506b2d9;p=pandora-kernel.git ipvs: optimize rates reading Move the estimator reading from estimation_timer to user context. ip_vs_read_estimator() will be used to decode the rate values. As the decoded rates are not set by estimation timer there is no need to reset them in ip_vs_zero_stats. There is no need ip_vs_new_estimator() to encode stats to rates, if the destination is in trash both the stats and the rates are inactive. Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- Reading git-diff-tree failed