Re: Broken /proc/meminfo ?

From: Matthew Wilcox (matthew@wil.cx)
Date: Mon Aug 28 2000 - 13:45:29 EST


On Sun, Aug 27, 2000 at 06:20:04PM +0200, Andi Kleen wrote:
> On Sun, Aug 27, 2000 at 04:39:40PM +0200, Michael Zieger wrote:
> > The "shared" and "MemShared" values show zeroes, and I didn't find
> > any word whether it is intended or not, so I believe it's a bug.
>
> It is intended, because it was too costly to compute these values
> because the complete page tables have to be walked.
> (on big memory machines it even lead to jumpy mouse pointers when
> a memory monitor was accessing it once a second)

can't we set them to -1 instead? i think people are more likely to
understand that -1 is `can't answer question' then 0.

-- 
Revolutions do not require corporate support.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:21 EST