Re: SHM Not working in 2.4.0-prerelease

Doug McNaught (doug@wireboard.com)
03 Jan 2001 15:15:13 -0500


Shawn Starr <shawn.starr@home.net> writes:

> [spstarr@coredump /etc]$ free
> total used free shared buffers
> cached
> Mem: 62496 61264 1232 0 1248
> 28848
>
>
> There's no shared memory being used?

[...]

> the shmfs is mounted. Is there any configuration i need to get shm
> memory activiated?

The 'shared' field in /proc/meminfo (source for 'top' and 'free') has
nothing to do with {SysV,POSIX} shared memory. The 'shared' field
referred to memory that was used by more than one process (shared
libraries, shared text segments etc). As I understand it, under 2.4
the 'shared' field is very expensive to calculate, so we don't--the
zero value is there to avoid breaking programs that parse
/proc/meminfo.

-Doug
-
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/