Re: Broken /proc/meminfo ?

From: Tigran Aivazian (tigran@veritas.com)
Date: Sun Aug 27 2000 - 10:29:56 EST


On Sun, 27 Aug 2000, 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.
>
> I'm not on this list, I just read kernel-traffic. I hope it was OK to
> send this mail, I wouldn't know any better place.

The value shown is set by arch-specific function
arch/i386/mm/init.c:si_meminfo() which sets the value of sharedram to 0.

So, if you don't like the 0, write some code (on all architectures) to
give meaning to "shared ram" and fill in the val->sharedram in
si_meminfo().

Regards,
Tigran

-
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:19 EST