Re: Shared memory - 2.4.x

From: Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Date: Wed Feb 21 2001 - 06:48:49 EST

On Wed, Feb 21, 2001 at 11:23:09AM +0100, Thomas Foerster wrote:
> running "top" on a 2.2.18 Kernel showed me the ammount of memory shared.
> Now under 2.4.x "top" always displays "0" and i have mountet the
> tmpfs (if it's needed for that ?).
> Is shared memory gone? Is my "top" to old?! I think i've installed
> all needed versions as described in "Changes" under linux/Documentation
> I don't think there isn't any shared memory, but i'm confused :)

This is becoming a FAQ, could we add it as question 14.3 to the lkml

Yes, the processes stil share memory, but due to changes to the VM in
2.4 it became too CPU intensive to calculate the total amount of shared
memory. In order not to break the userland tools, the "MemShared" field
in /proc/meminfo was set to 0.


J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:24 EST