netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Cc: "David S.Miller" <davem@redhat.com>, netdev@oss.sgi.com
Subject: Re: [RFC] SNMP_ADD_STATS
Date: Thu, 13 Jun 2002 02:11:19 +0200	[thread overview]
Message-ID: <20020613021119.A11732@wotan.suse.de> (raw)
In-Reply-To: <20020612182348.GP1073@conectiva.com.br>

> #define IP_ADD_STATS(field,incr) SNMP_ADD_STATS(ip_statistics, field, incr)
> 
> Any objections?

Better use per_cpu data in 2.5 (<asm/percpu.h>) for the MIBs.

That's much more efficient on some architectures, uses less memory on all
and is also cleaner.

-Andi

      parent reply	other threads:[~2002-06-13  0:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12 18:23 [RFC] SNMP_ADD_STATS Arnaldo Carvalho de Melo
2002-06-12 22:47 ` kuznet
2002-06-12 22:58 ` David S. Miller
2002-06-13  0:11 ` Andi Kleen [this message]

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=20020613021119.A11732@wotan.suse.de \
    --to=ak@suse.de \
    --cc=acme@conectiva.com.br \
    --cc=davem@redhat.com \
    --cc=netdev@oss.sgi.com \
    /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).