All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org, carges@cloudflare.com
Subject: Re: [PATCH nf,v2] netfilter: nft_set_rbtree: allocate same array size on updates
Date: Sun, 8 Mar 2026 11:47:41 +0100	[thread overview]
Message-ID: <aa1TzYNasBJPzY1h@chamomile> (raw)
In-Reply-To: <aawiz8SnS4HwV97z@strlen.de>

On Sat, Mar 07, 2026 at 02:06:23PM +0100, Florian Westphal wrote:
> Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> > There is also set->ndeact that provides a hint on deactivated
> > elements.
> 
> Oh, right, I fogot about that.
> 
> So we even have an estimate of how many elements will disappear.
>
> > So yes, there are smarter things that can be done here, but as for
> > this patch, my initial approach in this fix series was intentionally
> > simple.
> 
> Sure, its better to use a simple patch for nf, rest can be expiremented
> with in nf-next, I did not want to hold up this patch and I intend to
> pick it up for nf.

I promise take a look into this in nf-next patch.

  reply	other threads:[~2026-03-08 10:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-07  0:11 [PATCH nf,v2] netfilter: nft_set_rbtree: allocate same array size on updates Pablo Neira Ayuso
2026-03-07  9:07 ` Florian Westphal
2026-03-07 12:59   ` Pablo Neira Ayuso
2026-03-07 13:06     ` Florian Westphal
2026-03-08 10:47       ` Pablo Neira Ayuso [this message]
2026-03-11 16:29 ` Chris Arges
2026-03-11 16:43   ` Pablo Neira Ayuso
2026-03-11 18:45     ` Chris Arges
  -- strict thread matches above, loose matches on Subject: below --
2026-03-08 11:23 Pablo Neira Ayuso
2026-03-08 11:25 ` Pablo Neira Ayuso

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=aa1TzYNasBJPzY1h@chamomile \
    --to=pablo@netfilter.org \
    --cc=carges@cloudflare.com \
    --cc=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.