lvs-devel
|
To: | Julian Anastasov <ja@xxxxxx> |
---|---|
Subject: | Re: [RFC PATCHv6 1/7] ipvs: add rcu protection to stats |
Cc: | Simon Horman <horms@xxxxxxxxxxxx>, lvs-devel@xxxxxxxxxxxxxxx, yunhong-cgl jiang <xintian1976@xxxxxxxxx>, dust.li@xxxxxxxxxxxxxxxxx |
From: | Jiri Wiesner <jwiesner@xxxxxxx> |
Date: | Sat, 12 Nov 2022 08:51:51 +0100 |
On Mon, Oct 31, 2022 at 04:56:41PM +0200, Julian Anastasov wrote: > In preparation to using RCU locking for the list > with estimators, make sure the struct ip_vs_stats > are released after RCU grace period by using RCU > callbacks. This affects ipvs->tot_stats where we > can not use RCU callbacks for ipvs, so we use > allocated struct ip_vs_stats_rcu. For services > and dests we force RCU callbacks for all cases. > > Signed-off-by: Julian Anastasov <ja@xxxxxx> > --- Reviewed-by: Jiri Wiesner <jwiesner@xxxxxxx> -- Jiri Wiesner SUSE Labs |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [RFC PATCHv6 4/7] ipvs: use kthreads for stats estimation, Jiri Wiesner |
---|---|
Next by Date: | Re: [RFC PATCHv6 2/7] ipvs: use common functions for stats allocation, Jiri Wiesner |
Previous by Thread: | Re: [RFC PATCHv6 4/7] ipvs: use kthreads for stats estimation, Jiri Wiesner |
Next by Thread: | Re: [RFC PATCHv6 2/7] ipvs: use common functions for stats allocation, Jiri Wiesner |
Indexes: | [Date] [Thread] [Top] [All Lists] |