lkml.org 
[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: SHM Not working in 2.4.0-prerelease
From
Date
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/

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