Re: [PATCH] VM statistics code

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Fri Jul 13 2001 - 18:12:26 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:20 EST