[PATCH 2.4.21-pre4|BK] remove /proc/meminfo:MemShared

Marc-Christian Petersen (m.c.p@wolk-project.de)
Wed, 19 Feb 2003 13:42:34 +0100


--------------Boundary-00=_YA3KAF1JD1M0ZZP4S1RT
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Marcelo,

it seems to have been displaying zero for the past several years.

Same as in 2.5, by AKPM.

See here:=20
http://linux.bkbits.net:8080/linux-2.5/cset@1.838.103.37?nav=3Dindex.html=
|ChangeSet@-8w

ciao, Marc
--------------Boundary-00=_YA3KAF1JD1M0ZZP4S1RT
Content-Type: text/x-diff;
charset="us-ascii";
name="memshared-remove.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="memshared-remove.patch"

--- 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),

--------------Boundary-00=_YA3KAF1JD1M0ZZP4S1RT--

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