Re: vmstats patch against 2.4.8pre7 and new userlevel hack

From: Andrew Morton (akpm@zip.com.au)
Date: Sat Aug 11 2001 - 17:33:12 EST


Marcelo Tosatti wrote:
>
> > Problem: none of the statistics show up in proc until the first time the
> > kernel hits them. The /proc/stats entry isn't even there until the kernel
> > hits the first statistic. This isn't user-friendly.
>
> Right. This has to be fixed.
>

Does it? The userspace tool can just assume the value is zero
if it isn't available.

If we want unencountered counters to appear in the summary
we'd have to declare them, which means two lines of code
rather than one :)
-
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 : Wed Aug 15 2001 - 21:00:40 EST