summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2013-03-22 11:46:48 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-04-02 00:23:54 +0200
commit08cb2d032f13da4a076b51639b104a830b6bd18c (patch)
treea4b2b10a9e6f3acbd0920fb5c7bcaf1b6a69cc06 /arch/m68k
parentb310faad3e710b6822ebc0ec100db3682444e412 (diff)
downloadop-kernel-dev-08cb2d032f13da4a076b51639b104a830b6bd18c.zip
op-kernel-dev-08cb2d032f13da4a076b51639b104a830b6bd18c.tar.gz
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 <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud