From: Julian Anastasov Date: Thu, 21 Mar 2013 09:58:07 +0000 (+0200) Subject: ipvs: convert app locks X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~235^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=363c97d7435ebba8a040f86e29bdec79ee182f0c;p=pandora-kernel.git ipvs: convert app locks We use locks like tcp_app_lock, udp_app_lock, sctp_app_lock to protect access to the protocol hash tables from readers in packet context while the application instances (inc) are [un]registered under global mutex. As the hash tables are mostly read when conns are created and bound to app, use RCU for readers and reclaim app instance after grace period. Simplify ip_vs_app_inc_get because we use usecnt only for statistics and rely on module refcounting. Signed-off-by: Julian Anastasov Signed-off by: Hans Schillstrom Signed-off-by: Simon Horman --- Reading git-diff-tree failed