[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131029.221125.343749464995759893.davem@davemloft.net>
Date: Tue, 29 Oct 2013 22:11:25 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jesse@...ira.com
Cc: netdev@...r.kernel.org, dev@...nvswitch.org, pshelar@...ira.com
Subject: Re: [PATCH net-next 08/11] openvswitch: Per cpu flow stats.
From: Jesse Gross <jesse@...ira.com>
Date: Tue, 29 Oct 2013 17:22:21 -0700
> From: Pravin B Shelar <pshelar@...ira.com>
>
> With mega flow implementation ovs flow can be shared between
> multiple CPUs which makes stats updates highly contended
> operation. Following patch allocates separate stats for each
> CPU to make stats update scalable.
>
> Signed-off-by: Pravin B Shelar <pshelar@...ira.com>
> Signed-off-by: Jesse Gross <jesse@...ira.com>
Please properly use __percpu memory for this.
Using arrays for this is very strongly discouraged, please instead
use the kernel facility designed exactly for this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists