mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.4.21-pre4|BK] remove /proc/meminfo:MemShared
@ 2003-02-19 12:42 Marc-Christian Petersen
  2003-02-19 13:00 ` Adrian Bunk
  2003-02-19 14:22 ` Alan Cox
  0 siblings, 2 replies; 4+ messages in thread
From: Marc-Christian Petersen @ 2003-02-19 12:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: Marcelo Tosatti

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

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

[-- Attachment #2: memshared-remove.patch --]
[-- Type: text/x-diff, Size: 618 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-19 16:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-19 12:42 [PATCH 2.4.21-pre4|BK] remove /proc/meminfo:MemShared Marc-Christian Petersen
2003-02-19 13:00 ` Adrian Bunk
2003-02-19 13:03   ` Marc-Christian Petersen
2003-02-19 14:22 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®