From: "David S. Miller" <davem@redhat.com>
To: akpm@zip.com.au
Cc: alan@lxorguk.ukuu.org.uk, matts@ksu.edu, shemminger@osdl.org,
linux-kernel@vger.kernel.org
Subject: Re: 64 bit netdev stats counter
Date: Fri, 12 Jul 2002 15:28:42 -0700 (PDT) [thread overview]
Message-ID: <20020712.152842.85820158.davem@redhat.com> (raw)
In-Reply-To: <3D2F57BD.E9ABBBCA@zip.com.au>
From: Andrew Morton <akpm@zip.com.au>
Date: Fri, 12 Jul 2002 15:27:09 -0700
Could you make the counters per-cpu and only add them all up
in the rare case where someone wants to read the stats?
And then change all the drivers ;)
Since spinlocks are held %99 of the time when these counters are
bumped, I'd like to suggest another more sane and space optimized
solution :-)
next prev parent reply other threads:[~2002-07-12 22:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1026503694.26819.4.camel@dell_ss3.pdx.osdl.net>
2002-07-12 22:02 ` 64 bit netdev stats counter Matt Stegman
2002-07-12 21:58 ` David S. Miller
2002-07-12 23:20 ` Alan Cox
2002-07-12 22:06 ` David S. Miller
2002-07-12 22:27 ` Andrew Morton
2002-07-12 22:28 ` David S. Miller [this message]
2002-07-12 22:31 ` Chris Friesen
2002-07-13 2:18 ` Alan Cox
2002-07-13 0:50 ` kuznet
2002-07-12 19:12 Matt Stegman
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=20020712.152842.85820158.davem@redhat.com \
--to=davem@redhat.com \
--cc=akpm@zip.com.au \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=matts@ksu.edu \
--cc=shemminger@osdl.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.