LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [RFC PATCH 1/4] ipvs: add rcu protection to stats

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>
  • Re: [RFC PATCH 1/4] ipvs: add rcu protection to stats, Jiri Wiesner <=