lkml.org 
[lkml]   [2003]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2.4.21-pre4|BK] remove /proc/meminfo:MemShared
Date
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),
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.025 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site