From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.us.es ([193.147.175.20]:51690 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932649AbeCEWNJ (ORCPT ); Mon, 5 Mar 2018 17:13:09 -0500 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 99628210564 for ; Mon, 5 Mar 2018 23:13:08 +0100 (CET) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 8A1D7DA7E0 for ; Mon, 5 Mar 2018 23:13:08 +0100 (CET) Date: Mon, 5 Mar 2018 23:13:06 +0100 From: Pablo Neira Ayuso To: Eric Dumazet Cc: Cong Wang , netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, Florian Westphal , Eric Dumazet Subject: Re: [Patch nf-next] netfilter: make xt_rateest hash table per net Message-ID: <20180305221306.sijznqsoig4qb472@salvia> References: <20180302025838.904-1-xiyou.wangcong@gmail.com> <1519964512.11375.8.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519964512.11375.8.camel@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Mar 01, 2018 at 08:21:52PM -0800, Eric Dumazet wrote: > On Thu, 2018-03-01 at 18:58 -0800, Cong Wang wrote: > > As suggested by Eric, we need to make the xt_rateest > > hash table and its lock per netns to reduce lock > > contentions. > > > > Cc: Florian Westphal > > Cc: Eric Dumazet > > Cc: Pablo Neira Ayuso > > Signed-off-by: Cong Wang > > --- > > include/net/netfilter/xt_rateest.h | 4 +- > > net/netfilter/xt_RATEEST.c | 91 +++++++++++++++++++++++++++----------- > > net/netfilter/xt_rateest.c | 10 ++--- > > 3 files changed, 72 insertions(+), 33 deletions(-) > > Very nice, thanks ! > > Reviewed-by: Eric Dumazet Applied, thanks!