lvs-devel
|
To: | Julian Anastasov <ja@xxxxxx> |
---|---|
Subject: | Re: [RFC PATCH 1/4] ipvs: add rcu protection to stats |
Cc: | Simon Horman <horms@xxxxxxxxxxxx>, lvs-devel@xxxxxxxxxxxxxxx, yunhong-cgl jiang <xintian1976@xxxxxxxxx>, yunhjiang@xxxxxxxx, dust.li@xxxxxxxxxxxxxxxxx, tangyang@xxxxxxxxx |
From: | Jiri Wiesner <jwiesner@xxxxxxx> |
Date: | Mon, 5 Sep 2022 12:43:37 +0200 |
On Sat, Aug 27, 2022 at 08:41:51PM +0300, 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 PATCH 0/4] Use kthreads for stats, Jiri Wiesner |
---|---|
Next by Date: | Re: [RFC PATCH 2/4] ipvs: use kthreads for stats estimation, Jiri Wiesner |
Previous by Thread: | Re: [RFC PATCH 2/4] ipvs: use kthreads for stats estimation, dust.li |
Next by Thread: | Re: [RFC PATCH 3/4] ipvs: add est_cpulist and est_nice sysctl vars, Jiri Wiesner |
Indexes: | [Date] [Thread] [Top] [All Lists] |