Commit fe04e945 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Remove /proc/meminfo:MemShared

It seems to have been displaying zero for the past several years, and
we can't think of anything useful to put in there.
parent 8bc2c6af
...@@ -158,7 +158,6 @@ static int meminfo_read_proc(char *page, char **start, off_t off, ...@@ -158,7 +158,6 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
len = sprintf(page, len = sprintf(page,
"MemTotal: %8lu kB\n" "MemTotal: %8lu kB\n"
"MemFree: %8lu kB\n" "MemFree: %8lu kB\n"
"MemShared: %8lu kB\n"
"Buffers: %8lu kB\n" "Buffers: %8lu kB\n"
"Cached: %8lu kB\n" "Cached: %8lu kB\n"
"SwapCached: %8lu kB\n" "SwapCached: %8lu kB\n"
...@@ -179,7 +178,6 @@ static int meminfo_read_proc(char *page, char **start, off_t off, ...@@ -179,7 +178,6 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
"ReverseMaps: %8lu\n", "ReverseMaps: %8lu\n",
K(i.totalram), K(i.totalram),
K(i.freeram), K(i.freeram),
K(i.sharedram),
K(i.bufferram), K(i.bufferram),
K(ps.nr_pagecache-total_swapcache_pages-i.bufferram), K(ps.nr_pagecache-total_swapcache_pages-i.bufferram),
K(total_swapcache_pages), K(total_swapcache_pages),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment