From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.216.245.30 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796104805; b=ighQTf1DcFp2tkL3Bb6d8SSFLpKPGUv7+v+GXNgRFZXxUL6A5xG+Frrpk5wYr54xTi1P JzxkAcAWiTRzUQ+IP4R2uoYtKOAyeGctogc+oLz84vgAlB18GNZEZNFhRypEwxLl83No/ RzYQZeuw4OJ34Cskt0Ubor/e0g0lz+S60d8kYfgk0cvD6o9lcaEJtLN7pDBl+GQ25w6sF mWJpIX5gXFH71VeIDM9wR6QNa1YBicnHsCK13r76FwbvMQaYGeZaOGc4w0Tr6vEp8si1D LvtDWBoHnuogbOqMmHqrhDIOk/SlpyTTjWk9mqiOjenAcnENzgIkJxiLehRnnf8d3Zw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796104805; h=DMARC-Filter:Received:Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=Jm/uuUODzkvYBIfnuZ2u1fakTe8gQazTjLKiu/htZAY=; b=hhSRQCzcoFT09TrsNf+mj8hzKRqmHVKLnbUGTHaDdF9jhoV2XbZC17wbPwS2jbotg9tF Yh/3EPDV/ep3J2GGHsmgu1TRJIowBS+8RmbZPPF3AJwIZfYZLnYy2xkGwEOvBjpg9mo9x nht3iWLmNQO1B+qM1pPxkjeYvXsXEwowIfmmQIrcdP10HCgyIlbdNFhBkrrOxPud2Tlsg JTLuHbysId7mecW3/FkBW1wJwivMd2ORtzdUkj304lH/kmZPP79GHq7YcGs6bkBd0yHfX CPOk3z9ljdnl8Gjb7/ICJ6/HnwcIH6qbfyJPvnougOW0uCDV5hLPfZcrZMN+1rdHx0w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.remote-ip=91.216.245.30 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 321A9606A329 for ; Tue, 1 Dec 2026 06:00:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 321A9606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id AEDC360442; Tue, 01 Dec 2026 07:00:01 +0100 (CET) Date: Tue, 1 Dec 2026 07:00:01 +0100 From: Florian Westphal To: netfilter-devel@vger.kernel.org Subject: Re: [PATCH nf-next v12 3/5] netfilter: ipset: replace internal hash table with rhashtable Message-ID: References: <20261130170017.28897-1-fw@strlen.de> <20261130170017.28897-4-fw@strlen.de> X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261130170017.28897-4-fw@strlen.de> Florian Westphal wrote: > Replace ipset hash tables with rhashtable. > > Forced GC when set is full is removed: It is too expensive to do from > packet path insertions. Users can either enable FORCEADD or decrease the GC > interval. In case there is a requirement we could later re-add forced > GC when add request comes from userspace or add a 'fast gc' similar to > FORCEADD, where we probe a few random slots for expired elements rather > than doing a long walk in softirq context. > > FORCEADD and MULTI hash type (netiface type) support is removed here to > reduce diff size. Both are added back later in the same series. > > Initval, bucket size and hashtable bits configuration options are > kept for backwards compatibility; they are not used anymore. > > mtype_list() calls mtype_gc_resched() so that dumping a large set with many > expired entries does not hold one RCU read section for too long. Pablo, can you drop this line when applying? AI is too chatty in commit messages and I missed this detail was in there. Else I can submit v13...