]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Remove /proc/meminfo:MemShared
authorAndrew Morton <akpm@digeo.com>
Mon, 30 Dec 2002 05:40:13 +0000 (21:40 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 30 Dec 2002 05:40:13 +0000 (21:40 -0800)
It seems to have been displaying zero for the past several years, and
we can't think of anything useful to put in there.

fs/proc/proc_misc.c

index 29cd0cb68f927ca2039ec8271d518f34721a453c..fff23ee7ca2b2e6c923289794e694d9da958429d 100644 (file)
@@ -158,7 +158,6 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
        len = sprintf(page,
                "MemTotal:     %8lu kB\n"
                "MemFree:      %8lu kB\n"
-               "MemShared:    %8lu kB\n"
                "Buffers:      %8lu kB\n"
                "Cached:       %8lu kB\n"
                "SwapCached:   %8lu kB\n"
@@ -179,7 +178,6 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
                "ReverseMaps:  %8lu\n",
                K(i.totalram),
                K(i.freeram),
-               K(i.sharedram),
                K(i.bufferram),
                K(ps.nr_pagecache-total_swapcache_pages-i.bufferram),
                K(total_swapcache_pages),