linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: Chris Wedgwood <cw@f00f.org>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	lkml <linux-kernel@vger.kernel.org>,
	linux-mm@kvack.org
Subject: Re: [PATCH] VM statistics code
Date: Fri, 13 Jul 2001 20:12:26 -0300 (BRT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0107132006540.3892-100000@freak.distro.conectiva> (raw)
In-Reply-To: <20010714123141.A6119@weta.f00f.org>


On Sat, 14 Jul 2001, Chris Wedgwood wrote:

> On Fri, Jul 13, 2001 at 07:53:12PM -0300, Marcelo Tosatti wrote:
> 
>     Maybe. Personally I don't really care about the way we are doing
>     this, as long as I can get the information. I can add /proc/vmstat
>     easily if needed...
> 
> How about something under advance kernel hacking options of wherever
> the sysrq options is? (and profiling used to live, before it was
> always there), or, since the code is rather small, we could perhaps
> always have this available.

Well, it is already under "kernel hacking". 

I guess you missed it, right ? 

+VM statistics support
+CONFIG_VM_STATS
+  If you say Y here, the kernel will collect detailed information about 
+  the VM subsystem. This information will be available in /proc/stats. 
+  More documentation about this option can be found in 
+  Documentation/vm/statistics.
+  This is only useful for kernel hacking. If unsure, say N. 
+

Obviously we want this disabled by default.

>     Well, I don't want to include this stuff on the stock vmstat code
>     right now. I've done an ugly hack in vmstat.c to get the thing to
>     work and thats it.
> 
> Fair enough, but the comment "please apply" makes me nervous then :)

As I said, I'll keep an uptodated version of vmstat.c in my homepage for
the people who want to use it. Right now I don't the time to make a new
nice tool.


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

  reply	other threads:[~2001-07-13 23:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-13 22:08 Marcelo Tosatti
2001-07-14  0:11 ` Chris Wedgwood
2001-07-13 22:53   ` Marcelo Tosatti
2001-07-14  0:31     ` Chris Wedgwood
2001-07-13 23:12       ` Marcelo Tosatti [this message]
2001-07-14  0:46       ` David S. Miller
2001-07-14  3:29 ` Andrew Morton
2001-07-14  2:09   ` Marcelo Tosatti

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=Pine.LNX.4.21.0107132006540.3892-100000@freak.distro.conectiva \
    --to=marcelo@conectiva.com.br \
    --cc=cw@f00f.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=torvalds@transmeta.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