Re: Shared memory - 2.4.x

Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Wed, 21 Feb 2001 12:48:49 +0100


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
FAQ?

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.

Erik

-- 
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: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/