lkml.org 
[lkml]   [2000]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Broken /proc/meminfo ?
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.046 / U:21.952 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site