[lkml]   [2001]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] VM statistics code

Chris Wedgwood writes:
> 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.

I personally feel that it is imperative to have some kind of "lower
level" statistics available by default in the VM. It would
undoubtedly save some head scratching for most bug reports.

We have all of this kind of stuff in the networking, because the SNMP
mibs require us to keep track of the information. I can say for
certain that several bugs were found quickly because we were able to
notice anomalies in the events being triggered on the person's

There is a bit of a performance issue, since our VM is decently
threaded. That can be solved with per-cpu statistics blocks like
the networking uses.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.057 / U:1.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site