netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Emelyanov <xemul@openvz.org>
To: Eric Dumazet <dada1@cosmosbay.com>
Cc: Linux Netdev List <netdev@vger.kernel.org>
Subject: Re: [RFC][PATCH] Turn part of SNMP accounting macros into functions
Date: Thu, 28 Aug 2008 16:54:32 +0400	[thread overview]
Message-ID: <48B6A008.9080907@openvz.org> (raw)
In-Reply-To: <48B69F48.5050308@cosmosbay.com>

> Sometime I wonder if a *global* pointer ('current' pointer for example 
> is not passed to every kernel function that want access to current
> struture) would save many kbytes in vmlinux text. This way, !CONFIG_NET_NS 
> overhead would completely vanish.

:) I'm glad to hear, that we're not alone with such a view of how
this have to work. We at OpenVZ proposed the current_net macro from
the very beginning, but other netns developers decided to go the other
way :(

> Oh well...

Oh well, indeed...

  reply	other threads:[~2008-08-28 12:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-27 16:31 [RFC][PATCH] Turn part of SNMP accounting macros into functions Pavel Emelyanov
2008-08-27 16:41 ` Stephen Hemminger
2008-08-27 16:56 ` Ilpo Järvinen
2008-08-27 17:09   ` Pavel Emelyanov
2008-08-27 17:58     ` Ilpo Järvinen
2008-08-27 17:07 ` Eric Dumazet
2008-08-28 11:12   ` Pavel Emelyanov
2008-08-28 12:51     ` Eric Dumazet
2008-08-28 12:54       ` Pavel Emelyanov [this message]
2008-08-29  7:01 ` Herbert Xu
2008-08-29  7:29   ` Pavel Emelyanov
2008-08-29 12:57   ` Christoph Lameter

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=48B6A008.9080907@openvz.org \
    --to=xemul@openvz.org \
    --cc=dada1@cosmosbay.com \
    --cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).