Re: vmstats patch against 2.4.8pre7 and new userlevel hack

Andrew Morton
2001-08-11T22:27:53Z

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 :)