All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Patrick Schaaf <bof@bof.de>
Cc: Martin Josefsson <gandalf@wlug.westbo.se>,
	Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>,
	Rolf Fokkens <fokkensr@fokkensr.vertis.nl>,
	Harald Welte <laforge@netfilter.org>,
	Netfilter-devel <netfilter-devel@lists.netfilter.org>
Subject: Re: PATCH: extra conntrack stats
Date: Thu, 01 May 2003 16:46:44 +1000	[thread overview]
Message-ID: <20030501064732.ADD9C2C003@lists.samba.org> (raw)
In-Reply-To: Your message of "Thu, 01 May 2003 08:05:22 +0200." <20030501060522.GB15143@oknodo.bof.de>

In message <20030501060522.GB15143@oknodo.bof.de> you write:
> > 	struct nf_ct_info infos[IP_CT_NUMBER];
> > 7 * 4 bytes.  We could eliminate this by adding an skb field to hold
> > the state.
> 
> Given a guaranteed cacheline alignment of our 'struct ip_conntrack',
> we could make the current pointer on the skbuffs a tagged pointer,
> i.e. stuff our 3 info bits into the low 3 bits, without consuming
> more room in the skbuffs.

That was my original implementation.  It was fairly ugly, but worse, I
can imagine an arch where it would break.  None would at the moment,
though, since kmalloc cacheline aligns (although we'd have to be a
little careful to explicitly align a conntrack if we were to use a
dummy one for a "notrack" target.

> See http://lists.netfilter.org/pipermail/netfilter-devel/2002-July/008703.html

That looks like a good patch anyway...

Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

  reply	other threads:[~2003-05-01  6:46 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-19 21:42 PATCH: extra conntrack stats Rolf Fokkens
2003-04-25  8:23 ` Patrick Schaaf
2003-04-27 12:48 ` Harald Welte
2003-04-27 15:23   ` Rolf Fokkens
2003-04-27 20:42     ` Harald Welte
2003-04-28  6:13       ` Patrick Schaaf
2003-04-29 22:15     ` Jozsef Kadlecsik
2003-04-29 22:38       ` Martin Josefsson
2003-04-30 10:49         ` Jozsef Kadlecsik
2003-04-30 11:19           ` Martin Josefsson
2003-04-30 23:05             ` Martin Josefsson
2003-05-01  4:05               ` Rusty Russell
2003-05-01  6:05                 ` Patrick Schaaf
2003-05-01  6:46                   ` Rusty Russell [this message]
2003-05-01  7:04                     ` Patrick Schaaf
2003-05-01  7:38                       ` Rusty Russell
2003-05-01  9:58                 ` Martin Josefsson
2003-05-01 11:32                 ` Harald Welte
2003-05-01 11:26               ` Harald Welte
2003-05-02 12:18                 ` Jozsef Kadlecsik
2003-05-02 12:30                   ` Martin Josefsson
2003-05-02 21:51                     ` Jozsef Kadlecsik
2003-05-02 21:58                       ` Martin Josefsson
2003-05-05  9:24                         ` Jozsef Kadlecsik
2003-05-05 12:38                         ` Jozsef Kadlecsik
2003-05-05 13:07                           ` Martin Josefsson
2003-05-01  0:06           ` Rusty Russell
2003-05-01  5:48             ` Patrick Schaaf
2003-05-01 10:01               ` Martin Josefsson
2003-05-01  9:06             ` Martin Josefsson
2003-05-02  5:31               ` Rusty Russell
2003-05-02  7:06                 ` Patrick Schaaf
2003-05-02  8:57                   ` Rusty Russell
2003-05-02  9:54                     ` SNAT and IP ID Patrick Schaaf
2003-05-02 15:43                       ` Harald Welte
2003-05-05  8:43             ` PATCH: extra conntrack stats Jozsef Kadlecsik
2003-04-28  9:13 ` vecna
2003-04-28 13:47   ` Patrick Schaaf
2003-04-28 15:07     ` possible target SBALANCE ? vecna
2003-04-29 14:48       ` Harald Welte
2003-04-30 11:59         ` vecna
2003-04-30 13:02           ` Roberto Nibali

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=20030501064732.ADD9C2C003@lists.samba.org \
    --to=rusty@rustcorp.com.au \
    --cc=bof@bof.de \
    --cc=fokkensr@fokkensr.vertis.nl \
    --cc=gandalf@wlug.westbo.se \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=laforge@netfilter.org \
    --cc=netfilter-devel@lists.netfilter.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.