From: Julian Anastasov Date: Fri, 22 Mar 2013 09:46:48 +0000 (+0200) Subject: ipvs: convert wrr scheduler to rcu X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~235^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08cb2d032f13da4a076b51639b104a830b6bd18c;p=pandora-kernel.git ipvs: convert wrr scheduler to rcu The schedule method now needs _rcu list-traversal primitive for svc->destinations. As the weight for some dest can be reduced during dest selection, change the algorithm to check weights by using minimum weights in the 1 .. max_weight-(di-1) range, with the same step (di). By this way we ensure that there will be always a weight >= 1 check before claiming that all destinations are overloaded. Signed-off-by: Julian Anastasov Signed-off-by: Simon Horman --- Reading git-diff-tree failed