[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] VM statistics code
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/