diff options
author | Julian Anastasov <ja@ssi.bg> | 2013-03-22 11:46:37 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-02 00:23:47 +0200 |
commit | 6b6df46663e7aa6f7b1d82435a3488f9b81316b3 (patch) | |
tree | 72d44c02f38bbe96bc4a468da732abbd23037008 /kernel/smpboot.h | |
parent | 71dfa982f177d7b1e51e8d48b4c69da0b0e17e3c (diff) |
ipvs: preparations for using rcu in schedulers
Allow schedulers to use rcu_dereference when
returning destination on lookup. The RCU read-side critical
section will allow ip_vs_bind_dest to get dest refcnt as
preparation for the step where destinations will be
deleted without an IP_VS_WAIT_WHILE guard that holds the
packet processing during update.
Add new optional scheduler methods add_dest,
del_dest and upd_dest. For now the methods are called
together with update_service but update_service will be
removed in a following change.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kernel/smpboot.h')
0 files changed, 0 insertions, 0 deletions