Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Marc-Christian Petersen <> | Subject | [PATCH 2.4.21-pre4|BK] remove /proc/meminfo:MemShared | Date | Wed, 19 Feb 2003 13:42:34 +0100 |
| |
Hi Marcelo,
it seems to have been displaying zero for the past several years.
Same as in 2.5, by AKPM.
See here: http://linux.bkbits.net:8080/linux-2.5/cset@1.838.103.37?nav=index.html|ChangeSet@-8w
ciao, Marc--- a/fs/proc/proc_misc.c 2003-02-19 13:29:12.000000000 +0100 +++ b/fs/proc/proc_misc.c 2003-02-19 13:30:01.000000000 +0100 @@ -180,7 +180,6 @@ static int meminfo_read_proc(char *page, len += sprintf(page+len, "MemTotal: %8lu kB\n" "MemFree: %8lu kB\n" - "MemShared: %8lu kB\n" "Buffers: %8lu kB\n" "Cached: %8lu kB\n" "SwapCached: %8lu kB\n" @@ -194,7 +193,6 @@ static int meminfo_read_proc(char *page, "SwapFree: %8lu kB\n", K(i.totalram), K(i.freeram), - K(i.sharedram), K(i.bufferram), K(pg_size - swapper_space.nrpages), K(swapper_space.nrpages), | ![\](/images/icornerr.gif) |