Re: vmstats patch against 2.4.8pre7 and new userlevel hack

Andrew Morton (akpm@zip.com.au)
Sat, 11 Aug 2001 15:33:12 -0700


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/