All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nf-next v12 3/5] netfilter: ipset: replace internal hash table with rhashtable
Date: Tue, 1 Dec 2026 07:00:01 +0100	[thread overview]
Message-ID: <aw5iTqzkA2ek3frE@strlen.de> (raw)
In-Reply-To: <20261130170017.28897-4-fw@strlen.de>

Florian Westphal <fw@strlen.de> 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...

  reply	other threads:[~2026-12-01  6:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 17:00 [PATCH nf-next v12 0/5] ipset: replace internal hash table with rhashtable Florian Westphal
2026-11-30 17:00 ` [PATCH nf-next v12 1/5] rhashtable: Add rhashtable_flush_and_free helper Florian Westphal
2026-11-30 17:00 ` [PATCH nf-next v12 2/5] netfilter: ipset: add rhashtable boilerplate stubs Florian Westphal
2026-11-30 17:00 ` [PATCH nf-next v12 3/5] netfilter: ipset: replace internal hash table with rhashtable Florian Westphal
2026-12-01  6:00   ` Florian Westphal [this message]
2026-11-30 17:00 ` [PATCH nf-next v12 4/5] netfilter: ipset: re-add IP_SET_HASH_WITH_MULTI support Florian Westphal
2026-11-30 17:00 ` [PATCH nf-next v12 5/5] netfilter: ipset: re-add forceadd support Florian Westphal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw5iTqzkA2ek3frE@strlen.de \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.