linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] memcg: fix typo in the soft_limit stats.
@ 2011-05-16 22:00 Ying Han
  2011-05-16 23:15 ` Johannes Weiner
  0 siblings, 1 reply; 11+ messages in thread
From: Ying Han @ 2011-05-16 22:00 UTC (permalink / raw)
  To: KOSAKI Motohiro, Minchan Kim, Daisuke Nishimura, Balbir Singh,
	Tejun Heo, Pavel Emelyanov, KAMEZAWA Hiroyuki, Andrew Morton,
	Li Zefan, Mel Gorman, Christoph Lameter, Johannes Weiner,
	Rik van Riel, Hugh Dickins, Michal Hocko, Dave Hansen, Zhu Yanhai
  Cc: linux-mm

This fixes the typo in the memory.stat including the following two
stats:

$ cat /dev/cgroup/memory/A/memory.stat
total_soft_steal 0
total_soft_scan 0

And change it to:

$ cat /dev/cgroup/memory/A/memory.stat
total_soft_kswapd_steal 0
total_soft_kswapd_scan 0

Signed-off-by: Ying Han <yinghan@google.com>
---
 mm/memcontrol.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index a010c23..1ea787d 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -4023,8 +4023,8 @@ struct {
 	{"limit_direct_scan", "total_limit_direct_scan"},
 	{"hierarchy_direct_steal", "total_hierarchy_direct_steal"},
 	{"hierarchy_direct_scan", "total_hierarchy_direct_scan"},
-	{"soft_kswapd_steal", "total_soft_steal"},
-	{"soft_kswapd_scan", "total_soft_scan"},
+	{"soft_kswapd_steal", "total_soft_kswapd_steal"},
+	{"soft_kswapd_scan", "total_soft_kswapd_scan"},
 	{"soft_direct_steal", "total_soft_direct_steal"},
 	{"soft_direct_scan", "total_soft_direct_scan"},
 	{"inactive_anon", "total_inactive_anon"},
-- 
1.7.3.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2011-05-26 16:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16 22:00 [PATCH] memcg: fix typo in the soft_limit stats Ying Han
2011-05-16 23:15 ` Johannes Weiner
2011-05-17  0:05   ` Ying Han
2011-05-17  0:13     ` Johannes Weiner
2011-05-17  0:18       ` Rik van Riel
2011-05-17  0:18     ` Andrew Morton
2011-05-17 23:49       ` KAMEZAWA Hiroyuki
2011-05-18  0:00         ` KAMEZAWA Hiroyuki
2011-05-18  0:56           ` Ying Han
2011-05-26  9:05       ` Johannes Weiner
2011-05-26 16:56         ` Ying Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).