All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Eric Leblond <eric@inl.fr>, netfilter-devel@vger.kernel.org
Subject: Re: Transmit mark during connection destruction event
Date: Tue, 29 Jan 2008 15:36:21 +0100	[thread overview]
Message-ID: <479F39E5.6090206@trash.net> (raw)
In-Reply-To: <479F3943.2050900@netfilter.org>

Pablo Neira Ayuso wrote:
> Patrick McHardy wrote:
>
>> I'm also sure you could decrease overhead far more by choosing a proper
>> allocation size without affecting functionality thats apparently useful
>> for some people.
> 
> Please, elaborate this a bit.


ctnetlink currently allocates skb of NLMSG_GOODSIZE size, which is
4k on most architectures, but the actual messages are far smaller.
When more than 50% of the skb are unused, af_netlink reallocates
the skb, copying the entire data.


  reply	other threads:[~2008-01-29 14:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 23:13 Transmit mark during connection destruction event Eric Leblond
2008-01-29 13:38 ` Patrick McHardy
2008-01-29 14:00   ` Pablo Neira Ayuso
2008-01-29 13:49     ` Patrick McHardy
2008-01-29 14:16       ` Pablo Neira Ayuso
2008-01-29 14:20         ` Pablo Neira Ayuso
2008-01-29 14:24           ` Patrick McHardy
2008-01-29 14:27           ` Pablo Neira Ayuso
2008-01-29 14:23         ` Patrick McHardy
2008-01-29 14:33           ` Pablo Neira Ayuso
2008-01-29 14:36             ` Patrick McHardy [this message]
2008-01-29 13:47 ` 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=479F39E5.6090206@trash.net \
    --to=kaber@trash.net \
    --cc=eric@inl.fr \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@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.